aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-02-23 13:21:49 -0800
committerzotlabs <mike@macgirvin.com>2018-02-23 13:24:50 -0800
commit3dd64e7916872d21122c8184abb80eaa5a79a3fc (patch)
tree70061431b73792e60b1c182e7bcb0352c83e56df /view/tpl
parent048a636315671b7e9aaf9152273d101994e37c43 (diff)
downloadvolse-hubzilla-3dd64e7916872d21122c8184abb80eaa5a79a3fc.tar.gz
volse-hubzilla-3dd64e7916872d21122c8184abb80eaa5a79a3fc.tar.bz2
volse-hubzilla-3dd64e7916872d21122c8184abb80eaa5a79a3fc.zip
usability: click your own profile photo to change it instead of hunting it down in the profile edit navmenu. We still need work on the 'or use a photo from your albums' to use something like the photo selection widget in the post editor as you otherwise have to track down the 'use as profile photo' entry in the photo detail navmenu instead of just clicking an image.
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/profile_vcard.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl
index 0f30e5816..07e6dcc0a 100755
--- a/view/tpl/profile_vcard.tpl
+++ b/view/tpl/profile_vcard.tpl
@@ -1,6 +1,6 @@
<div class="vcard h-card">
{{if ! $zcard}}
- <div id="profile-photo-wrapper"><img class="photo u-photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.fullname}}"></div>
+ <div id="profile-photo-wrapper">{{if $editmenu}}<a href="profile_photo" title="{{$change_photo}}">{{/if}}<img class="photo u-photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.fullname}}">{{if $editmenu}}</a>{{/if}}</div>
{{/if}}
{{if $connect}}
<div class="connect-btn-wrapper"><a href="{{$connect_url}}" class="btn btn-block btn-success btn-sm"><i class="fa fa-plus"></i> {{$connect}}</a></div>