fix(): Respect picdate for profile pic in Frio theme

This commit is contained in:
TiMESPLiNTER 2019-07-23 18:25:06 +02:00
parent 502617afde
commit 56e8c47db2

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">