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