diff options
author | Mario <mario@mariovavti.com> | 2020-09-21 08:06:57 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-09-21 10:09:03 +0200 |
commit | 56e503149d3c2677e96d8909cef702127933f291 (patch) | |
tree | e1916e6d18a3dba1a5af71dff2a8f30612990add /view/tpl/field_acheckbox.tpl | |
parent | f2c1fd2a48273f6ff3356a9baf3d96d49c4e1a52 (diff) | |
download | volse-hubzilla-56e503149d3c2677e96d8909cef702127933f291.tar.gz volse-hubzilla-56e503149d3c2677e96d8909cef702127933f291.tar.bz2 volse-hubzilla-56e503149d3c2677e96d8909cef702127933f291.zip |
allow to show unchecked box if the value is 0 or false
(cherry picked from commit 04af502e3a9f360239a0bb4bca46cca1e866d2bf)
Diffstat (limited to 'view/tpl/field_acheckbox.tpl')
-rwxr-xr-x | view/tpl/field_acheckbox.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/field_acheckbox.tpl b/view/tpl/field_acheckbox.tpl index 1810e1ee1..4c8b62f36 100755 --- a/view/tpl/field_acheckbox.tpl +++ b/view/tpl/field_acheckbox.tpl @@ -5,8 +5,8 @@ </td> {{if $notself}} <td class="abook-them"> - {{if $field.2 === 1}}<i class="fa fa-check-square-o"></i>{{/if}} - {{if $field.2 === 0}}<i class="fa fa-square-o"></i>{{/if}} + {{if $field.2 == 1}}<i class="fa fa-check-square-o"></i>{{/if}} + {{if $field.2 == 0}}<i class="fa fa-square-o"></i>{{/if}} </td> {{/if}} <td class="abook-me"> |