Merge pull request #7424 from TiMESPLiNTER/fix/respect-picdate

Respect picdate for profile pic in Frio theme
This commit is contained in:
Hypolite Petovan 2019-07-23 13:09:41 -04:00 committed by GitHub
commit 92c1cbeeec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,11 @@
<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">
<img class="media-object" src="{{$profile.photo}}" alt="{{$profile.name}}" />
{{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">