aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-02-25 22:50:16 +0100
committerMario Vavti <mario@mariovavti.com>2016-02-25 22:50:16 +0100
commitb2474334a7b7f009442883a08d544280231b29fc (patch)
tree55da2a355de6d22b263a7716514cf1299885d56a /view/tpl
parent2a0d4a2011e8f3161a815d7d5144fcf3d86c2465 (diff)
downloadvolse-hubzilla-b2474334a7b7f009442883a08d544280231b29fc.tar.gz
volse-hubzilla-b2474334a7b7f009442883a08d544280231b29fc.tar.bz2
volse-hubzilla-b2474334a7b7f009442883a08d544280231b29fc.zip
provide an edit button for the profile page
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/profile_advanced.tpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/view/tpl/profile_advanced.tpl b/view/tpl/profile_advanced.tpl
index a027a7c2e..780626cf9 100755
--- a/view/tpl/profile_advanced.tpl
+++ b/view/tpl/profile_advanced.tpl
@@ -12,6 +12,9 @@
<i class="icon-thumbs-up-alt" title="{{$profile.likethis}}"></i>
</button>
{{/if}}
+ {{if $edit}}
+ <a href="{{$edit.link}}" class="btn btn-primary btn-xs"><i class="icon-pencil"></i>&nbsp;{{$edit.label}}</a>
+ {{/if}}
</div>
<h2>{{$title}}</h2>
<div class="clear"></div>