diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-03-01 14:41:14 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-03-01 14:41:14 +0100 |
commit | 492609d20bd04ff76efb3406766d714d7384c6d0 (patch) | |
tree | 83670acd243a60a13a5ce30fc523eb5e877a0630 /view/tpl/profile_advanced.tpl | |
parent | 0f76af261c9be9c7e69af1ea6309ec8cb5d7a536 (diff) | |
download | volse-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-x | view/tpl/profile_advanced.tpl | 2 |
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> {{$editmenu.edit.3}}</a> {{/if}} </div> |