aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/profile_advanced.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-03-01 14:41:14 +0100
committerMario Vavti <mario@mariovavti.com>2016-03-01 14:41:14 +0100
commit492609d20bd04ff76efb3406766d714d7384c6d0 (patch)
tree83670acd243a60a13a5ce30fc523eb5e877a0630 /view/tpl/profile_advanced.tpl
parent0f76af261c9be9c7e69af1ea6309ec8cb5d7a536 (diff)
downloadvolse-hubzilla-492609d20bd04ff76efb3406766d714d7384c6d0.tar.gz
volse-hubzilla-492609d20bd04ff76efb3406766d714d7384c6d0.tar.bz2
volse-hubzilla-492609d20bd04ff76efb3406766d714d7384c6d0.zip
do not show empty buttons if not logged in
Diffstat (limited to 'view/tpl/profile_advanced.tpl')
-rwxr-xr-xview/tpl/profile_advanced.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/profile_advanced.tpl b/view/tpl/profile_advanced.tpl
index 3d09b762d..0f968a53f 100755
--- a/view/tpl/profile_advanced.tpl
+++ b/view/tpl/profile_advanced.tpl
@@ -23,7 +23,7 @@
<li><a href="profile_photo" >{{$editmenu.menu.chg_photo}}</a></li>
{{if $editmenu.menu.cr_new}}<li><a href="profiles/new" id="profile-listing-new-link">{{$editmenu.menu.cr_new}}</a></li>{{/if}}
</ul>
- {{else}}
+ {{elseif $editmenu}}
<a class="btn btn-primary btn-xs" href="{{$editmenu.edit.0}}" ><i class="icon-pencil"></i>&nbsp;{{$editmenu.edit.3}}</a>
{{/if}}
</div>