]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/profile/vcard.tpl
Merge pull request #12502 from annando/no-gs-import
[friendica.git] / view / theme / frio / templates / profile / vcard.tpl
1 <div class="vcard h-card widget">
2
3         <div id="profile-photo-wrapper">
4                 <a href="{{$profile.url}}"><img class="photo u-photo" src="{{$profile.photo}}" alt="{{$profile.name}}" /></a>
5                 <div class="tool visible-lg visible-md">
6                         {{if $profile.edit}}
7                         <div class="action">
8                                 <a class="" href="{{$profile.edit.0}}" title="{{$profile.edit.3}}"><i class="fa fa-pencil-square-o"></i></a>
9                         </div>
10                         {{/if}}
11                 </div>
12
13         </div>
14
15         {{* The short information which will appended to the second navbar by scrollspy *}}
16         <div id="vcard-short-info-wrapper" style="display: none;">
17                 <div id="vcard-short-info" class="media" style="display: none">
18                         <div id="vcard-short-photo-wrapper" class="pull-left">
19                                 <img class="media-object" src="{{$profile.photo}}" alt="{{$profile.name}}"></a>
20                         </div>
21
22                         <div id="vcard-short-desc" class="media-body">
23                                 <h4 class="media-heading">{{$profile.name}}</h4>
24                                 {{if $profile.addr}}<div class="vcard-short-addr">{{$profile.addr}}</div>{{/if}}
25                         </div>
26                 </div>
27         </div>
28
29         <div class="panel-body">
30                 <div class="profile-header">
31                         <h3 class="fn p-name" dir="auto">{{$profile.name}}</h3>
32
33                         {{if $profile.addr}}<div class="p-addr">{{include file="sub/punct_wrap.tpl" text=$profile.addr}}</div>{{/if}}
34
35                         {{if $profile.about}}<div class="title" dir="auto">{{$profile.about nofilter}}</div>{{/if}}
36
37                         {{if $account_type}}<div class="account-type">({{$account_type}})</div>{{/if}}
38                 </div>
39
40                 {{if $follow_link || $unfollow_link || $wallmessage_link}}
41                 <div id="profile-extra-links">
42                         {{if $follow_link || $unfollow_link}}
43                         <div id="dfrn-request-link-button">
44                                 {{if $unfollow_link}}
45                                 <a id="dfrn-request-link" class="btn btn-labeled btn-primary btn-sm" href="{{$unfollow_link}}">
46                                         <span class=""><i class="fa fa-user-times"></i></span>
47                                         <span class="">{{$unfollow}}</span>
48                                 </a>
49                                 {{else}}
50                                 <a id="dfrn-request-link" class="btn btn-labeled btn-primary btn-sm" href="{{$follow_link}}">
51                                         <span class=""><i class="fa fa-user-plus"></i></span>
52                                         <span class="">{{$follow}}</span>
53                                 </a>
54                                 {{/if}}
55                         </div>
56                         {{/if}}
57                         {{if $subscribe_feed_link}}
58                         <div id="subscribe-feed-link-button">
59                                 <a id="subscribe-feed-link" class="btn btn-labeled btn-primary btn-sm" href="{{$subscribe_feed_link}}">
60                                         <span class=""><i class="fa fa-rss"></i></span>
61                                         <span class="">{{$subscribe_feed}}</span>
62                                 </a>
63                         </div>
64                         {{/if}}
65                         {{if $wallmessage_link}}
66                         <div id="wallmessage-link-botton">
67                                 <button type="button" id="wallmessage-link" class="btn btn-labeled btn-primary btn-sm" onclick="openWallMessage('{{$wallmessage_link}}')">
68                                         <span class=""><i class="fa fa-envelope"></i></span>
69                                         <span class="">{{$wallmessage}}</span>
70                                 </button>
71                         </div>
72                         {{/if}}
73                 </div>
74                 {{/if}}
75
76                 <div class="clear"></div>
77
78                 {{if $location}}
79                 <div class="location detail">
80                         <span class="location-label icon"><i class="fa fa-map-marker" title="{{$location}}"></i></span>
81                         <span class="adr">
82                                 {{if $profile.address}}<p class="street-address p-street-address">{{$profile.address nofilter}}</p>{{/if}}
83                                 {{if $profile.location}}<p class="p-location">{{$profile.location}}</p>{{/if}}
84                         </span>
85                 </div>
86                 {{/if}}
87
88                 {{if $profile.xmpp}}
89                 <div class="xmpp">
90                         <span class="xmpp-label icon"><i class="fa fa-xmpp" title="{{$xmpp}}"></i></span>
91                         <span class="xmpp-data"><a href="xmpp:{{$profile.xmpp}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$profile.xmpp}}</a></span>
92                 </div>
93                 {{/if}}
94
95                 {{if $profile.matrix}}
96                 <div class="matrix">
97                         <span class="matrix-label icon"><i class="fa fa-matrix-org" title="{{$matrix}}"></i></span>
98                         <span class="matrix-data"><a href="matrix:{{$profile.matrix}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$profile.matrix}}</a></span>
99                 </div>
100                 {{/if}}
101
102                 {{if $profile.upubkey}}<div class="key u-key" style="display:none;">{{$profile.upubkey}}</div>{{/if}}
103
104                 {{if $contacts}}<div class="contacts" style="display:none;">{{$contacts}}</div>{{/if}}
105
106                 {{if $updated}}<div class="updated" style="display:none;">{{$updated}}</div>{{/if}}
107
108                 {{if $homepage}}
109                 <div class="homepage detail">
110                         <span class="homepage-label icon"><i class="fa fa-external-link" title="{{$homepage}}"></i></span>
111                         <span class="homepage-url u-url"><a href="{{$profile.homepage}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$profile.homepage}}</a>{{if $profile.homepage_verified}} <span title="{{$homepage_verified}}">✔</span>{{/if}}</span>
112                 </div>
113                 {{/if}}
114
115                 {{if $about}}<dl class="about"  style="display:none;"><dt class="about-label">{{$about}}</dt><dd class="x-network">{{$profile.about nofilter}}</dd></dl>{{/if}}
116
117                 {{include file="diaspora_vcard.tpl"}}
118         </div>
119 </div>
120
121 {{if $contact_block}}
122 <div class="widget" id="widget-contacts">
123         {{$contact_block nofilter}}
124 </div>
125 {{/if}}