diff options
author | friendica <info@friendica.com> | 2014-01-30 14:21:03 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-01-30 14:21:03 -0800 |
commit | f2f18578764ed3fce785f7414194ddcae9f0ebf2 (patch) | |
tree | a66fc2895cc68b31d6926b0b78a8457bb15df7eb | |
parent | 48bc9b546cdc0fae23efc3756e37ce59dc81737a (diff) | |
parent | 3bdbdbab53e76ef86b2ff4df6db708b16d216f77 (diff) | |
download | volse-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
-rwxr-xr-x | view/tpl/profile_vcard.tpl | 3 |
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}} |