aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/field_acheckbox.tpl
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-20 19:35:00 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-20 19:35:00 -0700
commit5146e6e76bdc027cdb6036233cd1978a5bc036a3 (patch)
tree39b3392f1d4f56ae34a8fe2ccd47e1bb39fdf5e3 /view/tpl/field_acheckbox.tpl
parentd87c7ceeb03a348526cd2f8bb5643b13a1860b40 (diff)
parent4d45bc9da185c4c8f558b07f8020dce8171fb957 (diff)
downloadvolse-hubzilla-5146e6e76bdc027cdb6036233cd1978a5bc036a3.tar.gz
volse-hubzilla-5146e6e76bdc027cdb6036233cd1978a5bc036a3.tar.bz2
volse-hubzilla-5146e6e76bdc027cdb6036233cd1978a5bc036a3.zip
Merge https://github.com/redmatrix/redmatrix into pending_merge
Diffstat (limited to 'view/tpl/field_acheckbox.tpl')
-rwxr-xr-xview/tpl/field_acheckbox.tpl9
1 files changed, 7 insertions, 2 deletions
diff --git a/view/tpl/field_acheckbox.tpl b/view/tpl/field_acheckbox.tpl
index f96fd5fd6..e99128bbb 100755
--- a/view/tpl/field_acheckbox.tpl
+++ b/view/tpl/field_acheckbox.tpl
@@ -5,11 +5,16 @@
</td>
{{if $notself}}
<td class="abook-them">
- <input type="checkbox" name='them_{{$field.0}}' id='them_id_{{$field.0}}' value="1" disabled="disabled" {{if $field.2}}checked="checked"{{/if}} />
+ {{if $field.2}}<i class="icon-check"></i>{{else}}<i class="icon-check-empty"></i>{{/if}}
</td>
{{/if}}
<td class="abook-me">
- <input type="checkbox" name='{{$field.0}}' class='abook-edit-me' id='me_id_{{$field.0}}' value="{{$field.4}}" {{if $field.3}}checked="checked"{{/if}}{{if $notself && $field.5}} disabled="disabled"{{/if}}/>
+ {{if $self || !$field.5}}
+ <input type="checkbox" name='{{$field.0}}' class='abook-edit-me' id='me_id_{{$field.0}}' value="{{$field.4}}" {{if $field.3}}checked="checked"{{/if}} />
+ {{/if}}
+ {{if $notself && $field.5}}
+ {{if $field.3}}<i class="icon-check"></i>{{else}}<i class="icon-check-empty"></i>{{/if}}
+ {{/if}}
</td>
<td>
{{if $field.5}}<span class="permission-inherited">{{$inherited}}{{if $self}}{{if $field.7}} <i class="icon-check"></i>{{else}} <i class="icon-check-empty"></i>{{/if}}{{/if}}</span>{{/if}}