aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/xchan_vcard.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-13 09:50:53 +0000
committerMario <mario@mariovavti.com>2021-01-13 09:50:53 +0000
commit5eefdc6485b2f6082f6fe5dfd6f1731fae7e3a2a (patch)
tree7521f4800e393538d19c393c6f495ea2d41cbf5a /view/tpl/xchan_vcard.tpl
parent0bc4c7d1a0e4348018e533be600ad1c648fd97fb (diff)
parent4d2bcbc5837a7d99dc541595ca8087c335242af0 (diff)
downloadvolse-hubzilla-5eefdc6485b2f6082f6fe5dfd6f1731fae7e3a2a.tar.gz
volse-hubzilla-5eefdc6485b2f6082f6fe5dfd6f1731fae7e3a2a.tar.bz2
volse-hubzilla-5eefdc6485b2f6082f6fe5dfd6f1731fae7e3a2a.zip
Merge branch '5.2RC'5.2
Diffstat (limited to 'view/tpl/xchan_vcard.tpl')
-rwxr-xr-xview/tpl/xchan_vcard.tpl31
1 files changed, 23 insertions, 8 deletions
diff --git a/view/tpl/xchan_vcard.tpl b/view/tpl/xchan_vcard.tpl
index 9c357bba8..447839167 100755
--- a/view/tpl/xchan_vcard.tpl
+++ b/view/tpl/xchan_vcard.tpl
@@ -1,10 +1,25 @@
-<div id="vcard" class="vcard h-card">
-<div id="profile-photo-wrapper"><a href="{{$link}}"><img class="vcard-photo photo u-photo" src="{{$photo}}" alt="{{$name}}" /></a></div>
-{{if $connect}}
-<div class="connect-btn-wrapper"><a href="follow?f=&url={{$follow}}" class="btn btn-block btn-success btn-sm" rel="nofollow"><i class="fa fa-plus"></i> {{$connect}}</a></div>
-{{/if}}
-<div class="fn p-name">{{$name}}</div>
+<div class="card mb-3 h-card">
+ <div class="row">
+ <div class="col-4">
+ <a href="{{$link}}" >
+ <img class="u-photo" src="{{$photo}}" alt="{{$name}}" width="80px" height="80px">
+ </a>
+ </div>
+ <div class="col m-1">
+ <div class="row">
+ <strong class="fn p-name">{{$name}}</strong>
+ </div>
+ <div class="row">
+ <small class="text-muted p-adr">{{$addr}}</small>
+ </div>
+ {{if $connect}}
+ <div class="row mt-2">
+ <a href="follow?f=&url={{$follow}}" class="btn btn-success btn-sm" rel="nofollow">
+ <i class="fa fa-plus"></i> {{$connect}}
+ </a>
+ </div>
+ {{/if}}
+ </div>
+ </div>
</div>
-
-