aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/xchan_vcard.tpl
blob: 473cda7ad31f7669f6631e90c0087fbce3ad8607 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<div class="card mb-3 h-card">
	<div class="row">
		<div class="col-4" style="width: 7rem;">
			<a href="{{$link}}" >
				<img class="u-photo rounded-start" src="{{$photo}}" alt="{{$name}}" style="width: 6rem; height:6rem;">
			</a>
		</div>
		<div class="col-7 m-1 p-0 lh-sm">
			<div class="text-truncate">
				<strong class="fn p-name">{{$name}}</strong>
			</div>
			<div class="text-truncate">
				<span class="text-muted p-adr">{{$addr}}</span>
			</div>
			{{if $connect}}
			<div class="mt-2">
				<a href="follow?f=&url={{$follow}}&interactive=1" class="btn btn-success btn-sm" rel="nofollow">
					<i class="fa fa-plus"></i> {{$connect}}
				</a>
			</div>
			{{/if}}
		</div>
	</div>
</div>