aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-09-21 08:06:57 +0000
committerMario <mario@mariovavti.com>2020-09-21 08:06:57 +0000
commit04af502e3a9f360239a0bb4bca46cca1e866d2bf (patch)
tree0ac72e1f53713873a659b2fa5f80a119fbc3551a /view/tpl
parentc38fc0b9067382b91dcd26b4da9742fd9d650f6c (diff)
downloadvolse-hubzilla-04af502e3a9f360239a0bb4bca46cca1e866d2bf.tar.gz
volse-hubzilla-04af502e3a9f360239a0bb4bca46cca1e866d2bf.tar.bz2
volse-hubzilla-04af502e3a9f360239a0bb4bca46cca1e866d2bf.zip
allow to show unchecked box if the value is 0 or false
Diffstat (limited to 'view/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">