diff options
author | Mario <mario@mariovavti.com> | 2021-11-21 20:17:14 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-11-21 20:17:14 +0000 |
commit | 18f8cafee0cc127e97d40aa70e45fd08d91c2dfe (patch) | |
tree | 517a65761aca6709bd89054ec6dc973f0e142a38 /view | |
parent | 6bd6afac05963c60d32be4011b11e02356d76444 (diff) | |
download | volse-hubzilla-18f8cafee0cc127e97d40aa70e45fd08d91c2dfe.tar.gz volse-hubzilla-18f8cafee0cc127e97d40aa70e45fd08d91c2dfe.tar.bz2 volse-hubzilla-18f8cafee0cc127e97d40aa70e45fd08d91c2dfe.zip |
minor vcard fixes
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/profile_vcard.tpl | 8 | ||||
-rw-r--r-- | view/tpl/xchan_vcard.tpl | 4 |
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> |