]> git.mxchange.org Git - friendica.git/blob - view/templates/profile_vcard.tpl
Bugfix: Now the unseen counter works.
[friendica.git] / view / templates / profile_vcard.tpl
1
2 <div class="vcard h-card">
3
4         <div class="fn label p-name">{{$profile.name}}</div>
5         
6                                 
7         
8         {{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
9
10         {{if $profile.picdate}}
11                 <div id="profile-photo-wrapper"><a href="{{$profile.url}}"><img class="photo u-photo" width="175" height="175" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></a></div>
12         {{else}}
13                 <div id="profile-photo-wrapper"><a href="{{$profile.url}}"><img class="photo u-photo" width="175" height="175" src="{{$profile.photo}}" alt="{{$profile.name}}"></a></div>
14         {{/if}}
15         {{if $profile.network_name}}<dl class="network"><dt class="network-label">{{$network}}</dt><dd class="x-network">{{$profile.network_name}}</dd></dl>{{/if}}
16         {{if $location}}
17                 <dl class="location"><dt class="location-label">{{$location}}</dt> 
18                 <dd class="adr">
19                         {{if $profile.address}}<div class="street-address p-street-address">{{$profile.address}}</div>{{/if}}
20                         <span class="city-state-zip">
21                                 <span class="locality p-locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}}
22                                 <span class="region p-region">{{$profile.region}}</span>
23                                 <span class="postal-code p-postal-code">{{$profile.postal_code}}</span>
24                         </span>
25                         {{if $profile.country_name}}<span class="country-name p-country-name">{{$profile.country_name}}</span>{{/if}}
26                 </dd>
27                 </dl>
28         {{/if}}
29
30         {{if $gender}}<dl class="mf"><dt class="gender-label">{{$gender}}</dt> <dd class="x-gender p-gender-identity">{{$profile.gender}}</dd></dl>{{/if}}
31         
32         {{if $profile.pubkey}}<div class="key u-key" style="display:none;">{{$profile.pubkey}}</div>{{/if}}
33
34         {{if $contacts}}<div class="contacts" style="display:none;">{{$contacts}}</div>{{/if}}
35
36         {{if $updated}}<div class="updated" style="display:none;">{{$updated}}</div>{{/if}}
37
38         {{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}}
39
40         {{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url u-url"><a href="{{$profile.homepage}}" rel="me" target="_blank">{{$profile.homepage}}</a></dd></dl>{{/if}}
41
42         {{if $about}}<dl class="about"><dt class="about-label">{{$about}}</dt><dd class="x-network">{{$profile.about}}</dd></dl>{{/if}}
43
44         {{include file="diaspora_vcard.tpl"}}
45         
46         <div id="profile-extra-links">
47                 <ul>
48                         {{if $connect}}
49                                 {{if $remoteconnect}}
50                                         <li><a id="dfrn-request-link" href="{{$remoteconnect}}">{{$connect}}</a></li>
51                                 {{else}}
52                                         <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
53                                 {{/if}}
54                         {{/if}}
55                         {{if $wallmessage}}
56                                 <li><a id="wallmessage-link" href="wallmessage/{{$profile.nickname}}">{{$wallmessage}}</a></li>
57                         {{/if}}
58                 </ul>
59         </div>
60 </div>
61
62 {{$contact_block}}
63
64