aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/profile_vcard.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_vcard.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_vcard.tpl')
-rwxr-xr-xview/tpl/profile_vcard.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl
index 3c3bfda5a..943cc6339 100755
--- a/view/tpl/profile_vcard.tpl
+++ b/view/tpl/profile_vcard.tpl
@@ -19,7 +19,7 @@
{{if $editmenu.menu.cr_new}}<li><a href="profiles/new" id="profile-listing-new-link">{{$editmenu.menu.cr_new}}</a></li>{{/if}}
</ul>
</div>
- {{else}}
+ {{elseif $editmenu}}
<a class="profile-edit-side-link" href="{{$editmenu.edit.0}}" ><i class="icon-pencil" title="{{$editmenu.edit.1}}"></i></a>
{{/if}}
{{/if}}