aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--view/tpl/profile_vcard.tpl8
-rw-r--r--view/tpl/xchan_vcard.tpl4
2 files changed, 8 insertions, 4 deletions
diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl
index 1778ae78b..983c79fab 100644
--- a/view/tpl/profile_vcard.tpl
+++ b/view/tpl/profile_vcard.tpl
@@ -2,8 +2,12 @@
<div class="card h-card vcard-card">
<div class="row">
<div class="col-4">
- <a href="{{$link}}">
+ {{if $editmenu}}
+ <a href="profile_photo" title="{{$change_photo}}">
+ {{/if}}
<img class="u-photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.fullname}}" width="80px" height="80px">
+ {{if $editmenu}}
+ {{/if}}
</a>
</div>
<div class="col-7 m-1 p-0">
@@ -25,7 +29,7 @@
{{/if}}
<div class="text-truncate">
- <strong class="fn p-name">{{$profile.fullname}}{{if $profile.online}} <i class="fa fa-asterisk online-now" title="{{$profile.online}}"></i>{{/if}}</strong>
+ <strong class="fn p-name">{{$profile.fullname}}{{if $profile.online}}<i class="fa fa-fw fa-asterisk text-danger ps-2" title="{{$profile.online}}"></i>{{/if}}</strong>
</div>
<div class="text-truncate">
<small class="text-muted p-adr">{{$profile.reddress}}</small>
diff --git a/view/tpl/xchan_vcard.tpl b/view/tpl/xchan_vcard.tpl
index 2fd9bec1d..2b5a6cb41 100644
--- a/view/tpl/xchan_vcard.tpl
+++ b/view/tpl/xchan_vcard.tpl
@@ -2,10 +2,10 @@
<div class="row">
<div class="col-4">
<a href="{{$link}}" >
- <img class="u-photo" src="{{$photo}}" alt="{{$name}}" width="80px" height="80px">
+ <img class="u-photo rounded-start" src="{{$photo}}" alt="{{$name}}" width="80px" height="80px">
</a>
</div>
- <div class="col-7 m-1">
+ <div class="col-7 m-1 p-0">
<div class="text-truncate">
<strong class="fn p-name">{{$name}}</strong>
</div>