From 492609d20bd04ff76efb3406766d714d7384c6d0 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 1 Mar 2016 14:41:14 +0100 Subject: do not show empty buttons if not logged in --- view/tpl/profile_advanced.tpl | 2 +- view/tpl/profile_vcard.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'view/tpl') 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 @@
  • {{$editmenu.menu.chg_photo}}
  • {{if $editmenu.menu.cr_new}}
  • {{$editmenu.menu.cr_new}}
  • {{/if}} - {{else}} + {{elseif $editmenu}}  {{$editmenu.edit.3}} {{/if}} 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}}
  • {{$editmenu.menu.cr_new}}
  • {{/if}} - {{else}} + {{elseif $editmenu}} {{/if}} {{/if}} -- cgit v1.2.3