]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/profile_vcard.tpl
Replace path parameter with query string parameter in Module\Search\Saved
[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                                 {{if $profile.picdate}}
29                                 <img class="media-object" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></a>
30                                 {{else}}
31                                 <img class="media-object" src="{{$profile.photo}}" alt="{{$profile.name}}"></a>
32                                 {{/if}}
33                         </div>
34
35                         <div id="vcard-short-desc" class="media-body">
36                                 <h4 class="media-heading">{{$profile.name}}</h4>
37                                 {{if $profile.addr}}<div class="vcard-short-addr">{{$profile.addr}}</div>{{/if}}
38                         </div>
39                 </div>
40         </div>
41
42         <div class="panel-body">
43                 <div class="profile-header">
44                         <h3 class="fn p-name">{{$profile.name}}</h3>
45
46                         {{if $profile.addr}}<div class="p-addr">{{include file="sub/punct_wrap.tpl" text=$profile.addr}}</div>{{/if}}
47
48                         {{if $profile.pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
49
50                         {{if $account_type}}<div class="account-type">({{$account_type}})</div>{{/if}}
51                 </div>
52
53                 {{if $follow_link || $unfollow_link || $wallmessage_link}}
54                 <div id="profile-extra-links">
55                         {{if $follow_link || $unfollow_link}}
56                         <div id="dfrn-request-link-button">
57                                 {{if $unfollow_link}}
58                                 <a id="dfrn-request-link" class="btn btn-labeled btn-primary btn-sm" href="{{$unfollow_link}}">
59                                         <span class=""><i class="fa fa-user-times"></i></span>
60                                         <span class="">{{$unfollow}}</span>
61                                 </a>
62                                 {{else}}
63                                 <a id="dfrn-request-link" class="btn btn-labeled btn-primary btn-sm" href="{{$follow_link}}">
64                                         <span class=""><i class="fa fa-user-plus"></i></span>
65                                         <span class="">{{$follow}}</span>
66                                 </a>
67                                 {{/if}}
68                         </div>
69                         {{/if}}
70                         {{if $wallmessage_link}}
71                         <div id="wallmessage-link-botton">
72                                 <button type="button" id="wallmessage-link" class="btn btn-labeled btn-primary btn-sm" onclick="openWallMessage('{{$wallmessage_link}}')">
73                                         <span class=""><i class="fa fa-envelope"></i></span>
74                                         <span class="">{{$wallmessage}}</span>
75                                 </button>
76                         </div>
77                         {{/if}}
78                 </div>
79                 {{/if}}
80
81                 <div class="clear"></div>
82
83                 {{if $location}}
84                 <div class="location detail">
85                         <span class="location-label icon"><i class="fa fa-map-marker"></i></span>
86                         <span class="adr">
87                                 {{if $profile.address}}<span class="street-address p-street-address">{{$profile.address nofilter}}</span>{{/if}}
88                                 <span class="city-state-zip">
89                                         <span class="locality p-locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}}
90                                         <span class="region p-region">{{$profile.region}}</span>
91                                         <span class="postal-code p-postal-code">{{$profile.postal_code}}</span>
92                                 </span>
93                                 {{if $profile.country_name}}<span class="country-name p-country-name">{{$profile.country_name}}</span>{{/if}}
94                         </span>
95                 </div>
96                 {{/if}}
97
98                 {{if $profile.xmpp}}
99                 <div class="xmpp">
100                         <span class="xmpp-label icon"><i class="fa fa-comments"></i></span>
101                         <span class="xmpp-data"><a href="xmpp:{{$profile.xmpp}}" rel="me" target="_blank">{{include file="sub/punct_wrap.tpl" text=$profile.xmpp}}</a></span>
102                 </div>
103                 {{/if}}
104
105                 {{if $gender}}
106                 <div class="mf detail">
107                         <span class="gender-label icon"><i class="fa fa-venus-mars"></i></span>
108                         <span class="p-gender">{{$profile.gender}}</span>
109                 </div>
110                 {{/if}}
111
112                 {{if $profile.pubkey}}<div class="key u-key" style="display:none;">{{$profile.pubkey}}</div>{{/if}}
113
114                 {{if $contacts}}<div class="contacts" style="display:none;">{{$contacts}}</div>{{/if}}
115
116                 {{if $updated}}<div class="updated" style="display:none;">{{$updated}}</div>{{/if}}
117
118                 {{if $marital}}
119                 <div class="marital detail">
120                         <span class="marital-label icon"><i class="fa fa-heart"></i></span>
121                         <span class="marital-text icon">{{$profile.marital}}</span>
122                 </div>
123                 {{/if}}
124
125                 {{if $homepage}}
126                 <div class="homepage detail">
127                         <span class="homepage-label icon"><i class="fa fa-external-link-square"></i></span>
128                         <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>
129                 </div>
130                 {{/if}}
131
132                 {{if $about}}<dl class="about"  style="display:none;"><dt class="about-label">{{$about}}</dt><dd class="x-network">{{$profile.about nofilter}}</dd></dl>{{/if}}
133
134                 {{include file="diaspora_vcard.tpl"}}
135         </div>
136 </div>
137
138 {{if $contact_block}}
139 <div class="widget" id="widget-contacts">
140         {{$contact_block nofilter}}
141 </div>
142 {{/if}}