aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-11-21 20:17:14 +0000
committerMario <mario@mariovavti.com>2021-11-21 20:17:14 +0000
commit18f8cafee0cc127e97d40aa70e45fd08d91c2dfe (patch)
tree517a65761aca6709bd89054ec6dc973f0e142a38 /view/tpl
parent6bd6afac05963c60d32be4011b11e02356d76444 (diff)
downloadvolse-hubzilla-18f8cafee0cc127e97d40aa70e45fd08d91c2dfe.tar.gz
volse-hubzilla-18f8cafee0cc127e97d40aa70e45fd08d91c2dfe.tar.bz2
volse-hubzilla-18f8cafee0cc127e97d40aa70e45fd08d91c2dfe.zip
minor vcard fixes
Diffstat (limited to 'view/tpl')
-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>