aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/field_acheckbox.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-07-14 19:29:49 +0200
committerMario Vavti <mario@mariovavti.com>2015-07-14 19:29:49 +0200
commit4fe64179c8c99dbcbabd1580ddf760288d049547 (patch)
tree68f965fba6ad3293056ff9823ca7e2eb83107c63 /view/tpl/field_acheckbox.tpl
parentcc1764989f70b28654b47fd58fd59b12b270b470 (diff)
downloadvolse-hubzilla-4fe64179c8c99dbcbabd1580ddf760288d049547.tar.gz
volse-hubzilla-4fe64179c8c99dbcbabd1580ddf760288d049547.tar.bz2
volse-hubzilla-4fe64179c8c99dbcbabd1580ddf760288d049547.zip
disable the inherited checkboxes for notself
Diffstat (limited to 'view/tpl/field_acheckbox.tpl')
-rwxr-xr-xview/tpl/field_acheckbox.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/field_acheckbox.tpl b/view/tpl/field_acheckbox.tpl
index 5b03a7848..d2aad3875 100755
--- a/view/tpl/field_acheckbox.tpl
+++ b/view/tpl/field_acheckbox.tpl
@@ -9,7 +9,7 @@
</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}} />
+ <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 $field.5 && $notself}} disabled="disabled"{{/if}}/>
</td>
<td>
{{if $field.5}}<span class="permission-inherited">{{$inherited}}</span>{{/if}}