]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/profile_vcard.tpl
Add a comment
[friendica.git] / view / theme / frio / templates / profile_vcard.tpl
1 <div class="vcard h-card widget">
2
3         <div id="profile-photo-wrapper">
4                 {{if $profile.picdate}}
5                 <a href="{{$profile.url}}"><img class="photo u-photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}" /></a>
6                 {{else}}
7                 <a href="{{$profile.url}}"><img class="photo u-photo" src="{{$profile.photo}}" alt="{{$profile.name}}" /></a>
8                 {{/if}}
9
10                 <div class="tool visible-lg visible-md">
11                         {{if $profile.edit}}
12                         <div class="action">
13                                 <a class="" href="{{$profile.edit.0}}" title="{{$profile.edit.3}}"><i class="fa fa-pencil-square-o"></i></a>
14                         </div>
15                         {{else}}
16                                 {{if $profile.menu}}
17                                 <div class="profile-edit-side-div"><a class="profile-edit-side-link icon edit" title="{{$editprofile}}" href="profiles" ></a></div>
18                                 {{/if}}
19                         {{/if}}
20                 </div>
21
22         </div>
23
24         {{* The short information which will appended to the second navbar by scrollspy *}}
25         <div id="vcard-short-info-wrapper" style="display: none;">
26                 <div id="vcard-short-info" class="media" style="display: none">
27                         <div id="vcard-short-photo-wrapper" class="pull-left">
28                                 <img class="media-object" src="{{$profile.photo}}" alt="{{$profile.name}}" />
29                         </div>
30
31                         <div id="vcard-short-desc" class="media-body">
32                                 <h4 class="media-heading">{{$profile.name}}</h4>
33                                 {{if $profile.addr}}<div class="vcard-short-addr">{{$profile.addr}}</div>{{/if}}
34                         </div>
35                 </div>
36         </div>
37
38         <div class="panel-body">
39                 <div class="profile-header">
40                         <h3 class="fn p-name">{{$profile.name}}</h3>
41
42                         {{if $profile.addr}}<div class="p-addr">{{include file="sub/punct_wrap.tpl" text=$profile.addr}}</div>{{/if}}
43
44                         {{if $profile.pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
45
46                         {{if $account_type}}<div class="account-type">({{$account_type}})</div>{{/if}}
47                 </div>
48
49                 <div id="profile-extra-links">
50                         {{if $connect}}
51                         <div id="dfrn-request-link-button">
52                                 {{if $remoteconnect}}
53                                 <a id="dfrn-request-link" class="btn btn-primary btn-sm" href="{{$remoteconnect}}">
54                                         <span class=""><i class="fa fa-user-plus"></i></span>
55                                         <span class="">{{$connect}}</span>
56                                 </a>
57                                 {{else}}
58                                 <a id="dfrn-request-link" class="btn btn-labeled btn-primary btn-sm" href="dfrn_request/{{$profile.nickname}}">
59                                         <span class=""><i class="fa fa-user-plus"></i></span>
60                                         <span class="">{{$connect}}</span>
61                                 </a>
62                                 {{/if}}
63                         </div>
64                         {{/if}}
65                         {{if $wallmessage}}
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
75                 <div class="clear"></div>
76
77                 {{if $location}}
78                 <div class="location detail">
79                         <span class="location-label icon"><i class="fa fa-map-marker"></i></span>
80                         <span class="adr">
81                                 {{if $profile.address}}<span class="street-address p-street-address">{{$profile.address nofilter}}</span>{{/if}}
82                                 <span class="city-state-zip">
83                                         <span class="locality p-locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}}
84                                         <span class="region p-region">{{$profile.region}}</span>
85                                         <span class="postal-code p-postal-code">{{$profile.postal_code}}</span>
86                                 </span>
87                                 {{if $profile.country_name}}<span class="country-name p-country-name">{{$profile.country_name}}</span>{{/if}}
88                         </span>
89                 </div>
90                 {{/if}}
91
92                 {{if $profile.xmpp}}
93                 <div class="xmpp">
94                         <span class="xmpp-label icon"><i class="fa fa-comments"></i></span>
95                         <span class="xmpp-data"><a href="xmpp:{{$profile.xmpp}}" rel="me" target="_blank">{{include file="sub/punct_wrap.tpl" text=$profile.xmpp}}</a></span>
96                 </div>
97                 {{/if}}
98
99                 {{if $gender}}
100                 <div class="mf detail">
101                         <span class="gender-label icon"><i class="fa fa-venus-mars"></i></span>
102                         <span class="p-gender">{{$profile.gender}}</span>
103                 </div>
104                 {{/if}}
105
106                 {{if $profile.pubkey}}<div class="key u-key" style="display:none;">{{$profile.pubkey}}</div>{{/if}}
107
108                 {{if $contacts}}<div class="contacts" style="display:none;">{{$contacts}}</div>{{/if}}
109
110                 {{if $updated}}<div class="updated" style="display:none;">{{$updated}}</div>{{/if}}
111
112                 {{if $marital}}
113                 <div class="marital detail">
114                         <span class="marital-label icon"><i class="fa fa-heart"></i></span>
115                         <span class="marital-text icon">{{$profile.marital}}</span>
116                 </div>
117                 {{/if}}
118
119                 {{if $homepage}}
120                 <div class="homepage detail">
121                         <span class="homepage-label icon"><i class="fa fa-external-link-square"></i></span>
122                         <span class="homepage-url u-url"><a href="{{$profile.homepage}}" rel="me" target="_blank">{{include file="sub/punct_wrap.tpl" text=$profile.homepage}}</a></span>
123                 </div>
124                 {{/if}}
125
126                 {{if $about}}<dl class="about"  style="display:none;"><dt class="about-label">{{$about}}</dt><dd class="x-network">{{$profile.about nofilter}}</dd></dl>{{/if}}
127
128                 {{include file="diaspora_vcard.tpl"}}
129         </div>
130 </div>
131
132 {{if $contact_block}}
133 <div class="widget" id="widget-contacts">
134         {{$contact_block nofilter}}
135 </div>
136 {{/if}}