]> git.mxchange.org Git - friendica.git/commitdiff
fix(): Respect picdate for profile pic in Frio theme
authorTiMESPLiNTER <github@timesplinter.ch>
Tue, 23 Jul 2019 16:25:06 +0000 (18:25 +0200)
committerTiMESPLiNTER <github@timesplinter.ch>
Tue, 23 Jul 2019 16:25:06 +0000 (18:25 +0200)
view/theme/frio/templates/profile_vcard.tpl

index d256a17dada3018cf4312928a281ebfca0369c6b..1673a9c9990d61d5b354246afb05c721ec7dd39c 100644 (file)
        <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">