]> git.mxchange.org Git - friendica.git/blob - view/theme/quattro/templates/profile_vcard.tpl
wrapping up 2019.12
[friendica.git] / view / theme / quattro / 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="#" rel="#profiles-menu" title="{{$profile.edit.3}}"><span>{{$profile.edit.1}}</span></a>
8                         <ul id="profiles-menu" class="menu-popup">
9                         {{if $profile.menu.entries}}
10                                 {{foreach $profile.menu.entries as $e}}
11                                 <li>
12                                         <a href="profiles/{{$e.id}}"><img src='{{$e.photo}}'>{{$e.profile_name}}</a>
13                                 </li>
14                                 {{/foreach}}
15                         {{else}}
16                                 <li>
17                                         <a href="{{$profile.edit.0}}">{{$profile.edit.1}}</a>
18                                 </li>
19                         {{/if}}
20                                 <li><a href="profile_photo" >{{$profile.menu.chg_photo}}</a></li>
21                                 {{if $profile.menu.cr_new }}
22                                 <li><a href="profiles/new" id="profile-listing-new-link">{{$profile.menu.cr_new}}</a></li>
23                                 {{/if}}
24                         </ul>
25                         </div>
26                 {{/if}}
27         </div>
28
29         {{if $profile.addr}}<div class="p-addr">{{$profile.addr}}</div>{{/if}}
30
31         {{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
32         <div id="profile-photo-wrapper"><img class="photo u-photo" width="175" height="175" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}" /></div>
33
34         {{if $account_type}}<div class="account-type">{{$account_type}}</div>{{/if}}
35
36         {{if $profile.network_link}}<dl class="network"><dt class="network-label">{{$network}}</dt><dd class="x-network">{{$profile.network_link nofilter}}</dd></dl>{{/if}}
37
38         {{if $location}}
39                 <dl class="location"><dt class="location-label">{{$location}}</dt> 
40                 <dd class="adr h-adr">
41                         {{if $profile.address}}<div class="street-address p-street-address">{{$profile.address nofilter}}</div>{{/if}}
42                         <span class="city-state-zip">
43                                 <span class="locality p-locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}}
44                                 <span class="region p-region">{{$profile.region}}</span>
45                                 <span class="postal-code p-postal-code">{{$profile.postal_code}}</span>
46                         </span>
47                         {{if $profile.country_name}}<span class="country-name p-country-name">{{$profile.country_name}}</span>{{/if}}
48                 </dd>
49                 </dl>
50         {{/if}}
51
52         {{if $profile.xmpp}}
53                 <dl class="xmpp">
54                         <dt class="xmpp-label">{{$xmpp}}</dt>
55                         <dd class="xmpp-data">{{$profile.xmpp}}</dd>
56                 </dl>
57         {{/if}}
58
59         {{if $gender}}<dl class="mf"><dt class="gender-label">{{$gender}}</dt> <dd class="p-gender">{{$profile.gender}}</dd></dl>{{/if}}
60         
61         {{if $profile.pubkey}}<div class="key" style="display:none;">{{$profile.pubkey}}</div>{{/if}}
62
63         {{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}}
64
65         {{if $homepage}}
66         <dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt>
67                 <dd class="homepage-url"><a href="{{$profile.homepage}}" class="u-url" rel="me" target="external-link">{{$profile.homepage}}</a></dd>
68         </dl>
69         {{/if}}
70
71         {{include file="diaspora_vcard.tpl"}}
72
73         <div id="profile-extra-links">
74                 <ul>
75                         {{if $unfollow_link}}
76                                 <li><a id="dfrn-request-link" href="{{$unfollow_link}}">{{$unfollow}}</a></li>
77                         {{/if}}
78                         {{if $follow_link}}
79                                 <li><a id="dfrn-request-link" href="{{$follow_link}}">{{$follow}}</a></li>
80                         {{/if}}
81                         {{if $wallmessage_link}}
82                                 <li><a id="wallmessage-link" href="{{$wallmessage_link}}">{{$wallmessage}}</a></li>
83                         {{/if}}
84                         {{if $subscribe_feed_link}}
85                                 <li><a id="subscribe-feed-link" href="{{$subscribe_feed_link}}">{{$subscribe_feed}}</a></li>
86                         {{/if}}
87                 </ul>
88         </div>
89 </div>
90
91 {{$contact_block nofilter}}
92
93