aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/field_acheckbox.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-09-21 08:06:57 +0000
committerMario <mario@mariovavti.com>2020-09-21 10:09:03 +0200
commit56e503149d3c2677e96d8909cef702127933f291 (patch)
treee1916e6d18a3dba1a5af71dff2a8f30612990add /view/tpl/field_acheckbox.tpl
parentf2c1fd2a48273f6ff3356a9baf3d96d49c4e1a52 (diff)
downloadvolse-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-xview/tpl/field_acheckbox.tpl4
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">