aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authormarijus <mario@localhost.localdomain>2014-01-30 19:44:50 +0100
committermarijus <mario@localhost.localdomain>2014-01-30 19:44:50 +0100
commit3bdbdbab53e76ef86b2ff4df6db708b16d216f77 (patch)
treea66fc2895cc68b31d6926b0b78a8457bb15df7eb /view/tpl
parent13a5dfacb6a1d9f123ac43be2ea3537a1a4f6a19 (diff)
downloadvolse-hubzilla-3bdbdbab53e76ef86b2ff4df6db708b16d216f77.tar.gz
volse-hubzilla-3bdbdbab53e76ef86b2ff4df6db708b16d216f77.tar.bz2
volse-hubzilla-3bdbdbab53e76ef86b2ff4df6db708b16d216f77.zip
dont show an empty link to profile creation if multi_profile is not enabled
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/profile_vcard.tpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl
index 7a857fd67..187c3039d 100755
--- a/view/tpl/profile_vcard.tpl
+++ b/view/tpl/profile_vcard.tpl
@@ -10,8 +10,7 @@
</li>
{{/foreach}}
<li><a href="profile_photo" >{{$profile.menu.chg_photo}}</a></li>
- <li><a href="profiles/new" id="profile-listing-new-link">{{$profile.menu.cr_new}}</a></li>
-
+ {{if $profile.menu.cr_new}}<li><a href="profiles/new" id="profile-listing-new-link">{{$profile.menu.cr_new}}</a></li>{{/if}}
</ul>
</div>
{{/if}}