diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-07-14 19:29:49 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-07-14 19:29:49 +0200 |
commit | 4fe64179c8c99dbcbabd1580ddf760288d049547 (patch) | |
tree | 68f965fba6ad3293056ff9823ca7e2eb83107c63 /view/tpl/field_acheckbox.tpl | |
parent | cc1764989f70b28654b47fd58fd59b12b270b470 (diff) | |
download | volse-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-x | view/tpl/field_acheckbox.tpl | 2 |
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}} |