aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-25 14:28:48 -0800
committerfriendica <info@friendica.com>2015-01-25 14:28:48 -0800
commit03412e8a589af5bcfc05abbdb39ac7e795758321 (patch)
tree2bfde4408703c93b0b24e9f3f18ff16fb42e27f3 /view
parentc1290861dbef7de619db16a9978417a08a5a5ca5 (diff)
downloadvolse-hubzilla-03412e8a589af5bcfc05abbdb39ac7e795758321.tar.gz
volse-hubzilla-03412e8a589af5bcfc05abbdb39ac7e795758321.tar.bz2
volse-hubzilla-03412e8a589af5bcfc05abbdb39ac7e795758321.zip
don't hide the scary stuff when editing self permissions.
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/abook_edit.tpl10
1 files changed, 8 insertions, 2 deletions
diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl
index 64245f585..0465c669b 100755
--- a/view/tpl/abook_edit.tpl
+++ b/view/tpl/abook_edit.tpl
@@ -90,8 +90,12 @@
{{/if}}
<h3>{{$permlbl}}</h3>
+
+{{if $notself}}
<div id="connedit-perms-wrap" class="fakelink" onclick="openClose('connedit-perms');">{{$clickme}}</div>
-<div id="connedit-perms" style="display: none;" >
+<div id="connedit-perms" style="display: none;" >
+{{/if}}
+
<div id="perm-desc" class="descriptive-text">{{$permnote}}</div>
<table>
<tr><td></td><td class="abook-them">{{$them}}</td><td colspan="2" class="abook-me">{{$me}}</td><td></td></tr>
@@ -103,8 +107,10 @@
</table>
</div>
-</div>
+{{if $notself}}
+</div>
+{{/if}}
<input class="contact-edit-submit" type="submit" name="done" value="{{$submit}}" />