aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/field_acheckbox.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-07-15 14:03:34 +0200
committerMario Vavti <mario@mariovavti.com>2015-07-15 14:03:34 +0200
commit0c77a127f2e10bcea23e49d5eef61ce444046b31 (patch)
tree4dd8c2e1df76510e59aa57a306de4960a2e36781 /view/tpl/field_acheckbox.tpl
parent5487b22dd79f9fd4e989db555fdd42d87aa77320 (diff)
downloadvolse-hubzilla-0c77a127f2e10bcea23e49d5eef61ce444046b31.tar.gz
volse-hubzilla-0c77a127f2e10bcea23e49d5eef61ce444046b31.tar.bz2
volse-hubzilla-0c77a127f2e10bcea23e49d5eef61ce444046b31.zip
show inherited state in Connection Default Permissions
Diffstat (limited to 'view/tpl/field_acheckbox.tpl')
-rwxr-xr-xview/tpl/field_acheckbox.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/view/tpl/field_acheckbox.tpl b/view/tpl/field_acheckbox.tpl
index d2aad3875..f96fd5fd6 100755
--- a/view/tpl/field_acheckbox.tpl
+++ b/view/tpl/field_acheckbox.tpl
@@ -1,6 +1,6 @@
<tr class="highlight">
<td>
- <label class="mainlabel" for='id_{{$field.0}}'>{{$field.1}}</label><br>
+ <label class="mainlabel" for='me_id_{{$field.0}}'>{{$field.1}}</label><br>
<span class='field_abook_help'>{{$field.6}}</span>
</td>
{{if $notself}}
@@ -9,9 +9,9 @@
</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 $field.5 && $notself}} disabled="disabled"{{/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 $notself && $field.5}} disabled="disabled"{{/if}}/>
</td>
<td>
- {{if $field.5}}<span class="permission-inherited">{{$inherited}}</span>{{/if}}
+ {{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}}
</td>
</tr>