From 52de6c11b157fa59ccd42f5f6779b9b8ce11730b Mon Sep 17 00:00:00 2001 From: Michael Vogel <icarus@dabo.de> Date: Tue, 17 Feb 2015 17:33:28 +0100 Subject: [PATCH] There is now a link to the profile behind the avatar picture on the display page --- view/templates/profile_vcard.tpl | 4 ++-- view/theme/vier/templates/profile_vcard.tpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/view/templates/profile_vcard.tpl b/view/templates/profile_vcard.tpl index 9bbb7f8a42..d5628115bf 100644 --- a/view/templates/profile_vcard.tpl +++ b/view/templates/profile_vcard.tpl @@ -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}} diff --git a/view/theme/vier/templates/profile_vcard.tpl b/view/theme/vier/templates/profile_vcard.tpl index 9d0c65601a..03d4fb3a6f 100644 --- a/view/theme/vier/templates/profile_vcard.tpl +++ b/view/theme/vier/templates/profile_vcard.tpl @@ -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}}