Issue 11034: Use the profile photo for local users
This commit is contained in:
parent
52f5e94bdb
commit
c7b3c071c7
6 changed files with 25 additions and 22 deletions
|
@ -1,12 +1,7 @@
|
|||
<div class="vcard h-card widget">
|
||||
|
||||
<div id="profile-photo-wrapper">
|
||||
{{if $profile.picdate}}
|
||||
<a href="{{$profile.url}}"><img class="photo u-photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}" /></a>
|
||||
{{else}}
|
||||
<a href="{{$profile.url}}"><img class="photo u-photo" src="{{$profile.photo}}" alt="{{$profile.name}}" /></a>
|
||||
{{/if}}
|
||||
|
||||
<div class="tool visible-lg visible-md">
|
||||
{{if $profile.edit}}
|
||||
<div class="action">
|
||||
|
@ -21,11 +16,7 @@
|
|||
<div id="vcard-short-info-wrapper" style="display: none;">
|
||||
<div id="vcard-short-info" class="media" style="display: none">
|
||||
<div id="vcard-short-photo-wrapper" class="pull-left">
|
||||
{{if $profile.picdate}}
|
||||
<img class="media-object" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></a>
|
||||
{{else}}
|
||||
<img class="media-object" src="{{$profile.photo}}" alt="{{$profile.name}}"></a>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div id="vcard-short-desc" class="media-body">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue