]> git.mxchange.org Git - friendica.git/blob - view/theme/vier/templates/profile_vcard.tpl
removed blank lines
[friendica.git] / view / theme / vier / templates / profile_vcard.tpl
1 <div class="vcard h-card">
2
3         <div class="tool">
4                 <div class="fn label p-name">{{$profile.name}}</div>
5                 {{if $profile.edit}}
6                         <div class="action">
7                                 <a class="icon s16 edit ttright" href="{{$profile.edit.0}}" title="{{$profile.edit.3}}"><span>{{$profile.edit.1}}</span></a>
8                         </div>
9                 {{else}}
10                         {{if $profile.menu}}
11                                 <div class="profile-edit-side-div"><a class="profile-edit-side-link icon edit" title="{{$editprofile}}" href="profiles" ></a></div>
12                         {{/if}}
13                 {{/if}}
14         </div>
15
16         {{if $profile.addr}}<div class="p-addr">{{$profile.addr}}</div>{{/if}}
17
18         {{if $profile.pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
19
20         {{if $profile.picdate}}
21                 <div id="profile-photo-wrapper"><a href="{{$profile.url}}"><img class="photo u-photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></a></div>
22         {{else}}
23                 <div id="profile-photo-wrapper"><a href="{{$profile.url}}"><img class="photo u-photo" src="{{$profile.photo}}" alt="{{$profile.name}}"></a></div>
24         {{/if}}
25
26         {{if $account_type}}<div class="account-type">{{$account_type}}</div>{{/if}}
27         {{if $profile.network_name}}<dl class="network"><dt class="network-label">{{$network}}</dt><dd class="x-network">{{$profile.network_name}}</dd></dl>{{/if}}
28         {{if $location}}
29                 <dl class="location"><dt class="location-label">{{$location}}</dt> 
30                 <dd class="adr h-adr">
31                         {{if $profile.address}}<div class="street-address p-street-address">{{$profile.address}}</div>{{/if}}
32                         <span class="city-state-zip">
33                                 <span class="locality p-locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}}
34                                 <span class="region p-region">{{$profile.region}}</span>
35                                 <span class="postal-code p-postal-code">{{$profile.postal_code}}</span>
36                         </span>
37                         {{if $profile.country_name}}<span class="country-name p-country-name">{{$profile.country_name}}</span>{{/if}}
38                 </dd>
39                 </dl>
40         {{/if}}
41
42         {{if $profile.xmpp}}
43                 <dl class="xmpp">
44                         <dt class="xmpp-label">{{$xmpp}}</dt>
45                         <dd class="xmpp-data">{{$profile.xmpp}}</dd>
46                 </dl>
47         {{/if}}
48
49         {{if $gender}}<dl class="mf"><dt class="gender-label">{{$gender}}</dt> <dd class="p-gender">{{$profile.gender}}</dd></dl>{{/if}}
50         
51         {{if $profile.pubkey}}<div class="key u-key" style="display:none;">{{$profile.pubkey}}</div>{{/if}}
52
53         {{if $contacts}}<div class="contacts" style="display:none;">{{$contacts}}</div>{{/if}}
54
55         {{if $updated}}<div class="updated" style="display:none;">{{$updated}}</div>{{/if}}
56
57         {{if $marital}}<dl class="marital"><dt class="marital-label"><span class="heart">&hearts;</span>{{$marital}}</dt><dd class="marital-text">{{$profile.marital}}</dd></dl>{{/if}}
58
59         {{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url"><a href="{{$profile.homepage}}" class="u-url" rel="me" target="_blank">{{$profile.homepage}}</a></dd></dl>{{/if}}
60
61         {{if $about}}<dl class="about"><dt class="about-label">{{$about}}</dt><dd class="x-network">{{$profile.about}}</dd></dl>{{/if}}
62
63         {{include file="diaspora_vcard.tpl"}}
64         
65         <div id="profile-extra-links">
66                 <ul>
67                         {{if $connect}}
68                                 {{if $remoteconnect}}
69                                         <li><a id="dfrn-request-link" href="{{$remoteconnect}}">{{$connect}}</a></li>
70                                 {{else}}
71                                         <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
72                                 {{/if}}
73                         {{/if}}
74                         {{if $wallmessage}}
75                                 <li><a id="wallmessage-link" href="{{$wallmessage_link}}">{{$wallmessage}}</a></li>
76                         {{/if}}
77                         {{if $subscribe_feed}}
78                                 <li><a id="subscribe-feed-link" href="dfrn_poll/{{$profile.nickname}}">{{$subscribe_feed}}</a></li>
79                         {{/if}}
80                 </ul>
81         </div>
82 </div>
83
84 {{$contact_block}}