]> git.mxchange.org Git - friendica.git/commitdiff
There is now a link to the profile behind the avatar picture on the display page
authorMichael Vogel <icarus@dabo.de>
Tue, 17 Feb 2015 16:33:28 +0000 (17:33 +0100)
committerMichael Vogel <icarus@dabo.de>
Tue, 17 Feb 2015 16:33:28 +0000 (17:33 +0100)
view/templates/profile_vcard.tpl
view/theme/vier/templates/profile_vcard.tpl

index 9bbb7f8a42d2f97b60ea4fdb4a4d68ae7c8b3a72..d5628115bf1a5de413cd01cd059d74e0e91c3107 100644 (file)
@@ -8,9 +8,9 @@
        {{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
 
        {{if $profile.picdate}}
-               <div id="profile-photo-wrapper"><img class="photo u-photo" width="175" height="175" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></div>
+               <div id="profile-photo-wrapper"><a href="{{$profile.url}}"><img class="photo u-photo" width="175" height="175" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></a></div>
         {{else}}
-               <div id="profile-photo-wrapper"><img class="photo u-photo" width="175" height="175" src="{{$profile.photo}}" alt="{{$profile.name}}"></div>
+               <div id="profile-photo-wrapper"><a href="{{$profile.url}}"><img class="photo u-photo" width="175" height="175" src="{{$profile.photo}}" alt="{{$profile.name}}"></a></div>
         {{/if}}
        {{if $profile.network_name}}<dl class="network"><dt class="network-label">{{$network}}</dt><dd class="x-network">{{$profile.network_name}}</dd></dl>{{/if}}
        {{if $location}}
index 9d0c65601ab6e52a1e4215bbcb67bdb9979177b8..03d4fb3a6f6a0a4e841baf436a3b00fc61e2743c 100644 (file)
@@ -15,9 +15,9 @@
 
 
        {{if $profile.picdate}}
-               <div id="profile-photo-wrapper"><img class="photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}" /></div>
+               <div id="profile-photo-wrapper"><a href="{{$profile.url}}"><img class="photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}" /></a></div>
        {{else}}
-               <div id="profile-photo-wrapper"><img class="photo" src="{{$profile.photo}}" alt="{{$profile.name}}" /></div>
+               <div id="profile-photo-wrapper"><a href="{{$profile.url}}"><img class="photo" src="{{$profile.photo}}" alt="{{$profile.name}}" /></a></div>
        {{/if}}
        {{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}