aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-03-04 16:07:41 +0100
committerMario Vavti <mario@mariovavti.com>2016-03-04 16:07:41 +0100
commit25ebac8d0b8acd73c13a0789a0292591f6ccc204 (patch)
treece7260ad0b580bfc7281cf926254dae84ef8cf3f
parentedf6da7189b69e05128ae6c433b9744f6a09b28f (diff)
downloadvolse-hubzilla-25ebac8d0b8acd73c13a0789a0292591f6ccc204.tar.gz
volse-hubzilla-25ebac8d0b8acd73c13a0789a0292591f6ccc204.tar.bz2
volse-hubzilla-25ebac8d0b8acd73c13a0789a0292591f6ccc204.zip
show cover-photo upload link only for the default profile
-rwxr-xr-xview/tpl/profile_edit.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/profile_edit.tpl b/view/tpl/profile_edit.tpl
index c70bf148b..229a84ae6 100755
--- a/view/tpl/profile_edit.tpl
+++ b/view/tpl/profile_edit.tpl
@@ -8,7 +8,7 @@
<div id="profile-edit-links">
<span class="btn btn-default"><a href="profile_photo" id="profile-photo_upload-link" title="{{$profpic}}">{{$profpic}}</a></span>
-<span class="btn btn-default"><a href="cover_photo" id="cover-photo_upload-link" title="{{$coverpic}}">{{$coverpic}}</a></span>
+{{if $is_default}}<span class="btn btn-default"><a href="cover_photo" id="cover-photo_upload-link" title="{{$coverpic}}">{{$coverpic}}</a></span>{{/if}}
<span class="btn btn-default"><a href="profile/{{$profile_id}}/view" id="profile-edit-view-link" title="{{$viewprof}}">{{$viewprof}}</a></span>
{{if ! $is_default}}<span class="btn btn-default"><a href="profperm/{{$profile_id}}" id="profile-edit-view-link" title="{{$editvis}}">{{$editvis}}</a></span>{{/if}}
{{if $profile_clone_link}}<span class="btn btn-default"><a href="{{$profile_clone_link}}" id="profile-edit-clone-link" title="{{$cr_prof}}">{{$cl_prof}}</a></span>{{/if}}