aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-30 14:21:03 -0800
committerfriendica <info@friendica.com>2014-01-30 14:21:03 -0800
commitf2f18578764ed3fce785f7414194ddcae9f0ebf2 (patch)
treea66fc2895cc68b31d6926b0b78a8457bb15df7eb /view
parent48bc9b546cdc0fae23efc3756e37ce59dc81737a (diff)
parent3bdbdbab53e76ef86b2ff4df6db708b16d216f77 (diff)
downloadvolse-hubzilla-f2f18578764ed3fce785f7414194ddcae9f0ebf2.tar.gz
volse-hubzilla-f2f18578764ed3fce785f7414194ddcae9f0ebf2.tar.bz2
volse-hubzilla-f2f18578764ed3fce785f7414194ddcae9f0ebf2.zip
Merge pull request #292 from git-marijus/master
dont show an empty link to profile creation if multi_profile is not enabled
Diffstat (limited to 'view')
-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}}