disable the inherited checkboxes for notself

This commit is contained in:
Mario Vavti 2015-07-14 19:29:49 +02:00
parent cc1764989f
commit 4fe64179c8

View File

@ -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}}