aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-07-24 21:29:07 -0700
committerfriendica <info@friendica.com>2014-07-24 21:29:07 -0700
commit5dcd0654d44b21503663801b8b5fb5d76ae4f015 (patch)
treecfe143f4d70e8be387e3afc430d19a7f4554f8e5 /view
parent1a6973a670b7137353708e838d9076be3e9b93bf (diff)
downloadvolse-hubzilla-5dcd0654d44b21503663801b8b5fb5d76ae4f015.tar.gz
volse-hubzilla-5dcd0654d44b21503663801b8b5fb5d76ae4f015.tar.bz2
volse-hubzilla-5dcd0654d44b21503663801b8b5fb5d76ae4f015.zip
always provide a profile edit entry in the nav usermenu
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/profile_edit.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/profile_edit.tpl b/view/tpl/profile_edit.tpl
index 196b3ac6d..edc93143e 100755
--- a/view/tpl/profile_edit.tpl
+++ b/view/tpl/profile_edit.tpl
@@ -6,9 +6,9 @@
<ul>
<li><a href="profile_photo" id="profile-photo_upload-link" title="{{$profpic}}">{{$profpic}}</a></li>
<li><a href="profile/{{$profile_id}}/view" id="profile-edit-view-link" title="{{$viewprof}}">{{$viewprof}}</a></li>
-<li><a href="{{$profile_clone_link}}" id="profile-edit-clone-link" title="{{$cr_prof}}">{{$cl_prof}}</a></li>
+{{if $profile_clone_link}}<li><a href="{{$profile_clone_link}}" id="profile-edit-clone-link" title="{{$cr_prof}}">{{$cl_prof}}</a></li>{{/if}}
<li></li>
-<li><a href="{{$profile_drop_link}}" id="profile-edit-drop-link" title="{{$del_prof}}" {{$disabled}} >{{$del_prof}}</a></li>
+{{if ! $default}}<li><a href="{{$profile_drop_link}}" id="profile-edit-drop-link" title="{{$del_prof}}" {{$disabled}} >{{$del_prof}}</a></li>{{/if}}
</ul>
</div>