]> git.mxchange.org Git - friendica.git/blob - view/theme/vier/templates/profile_vcard.tpl
Merge pull request #1378 from tobiasd/20150209newstrings
[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
17         {{if $profile.picdate}}
18                 <div id="profile-photo-wrapper"><img class="photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}" /></div>
19         {{else}}
20                 <div id="profile-photo-wrapper"><img class="photo" src="{{$profile.photo}}" alt="{{$profile.name}}" /></div>
21         {{/if}}
22         {{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
23
24         {{if $profile.network_name}}<dl class="network"><dt class="network-label">{{$network}}</dt><dd class="x-network">{{$profile.network_name}}</dd></dl>{{/if}}
25         {{if $location}}
26                 <dl class="location"><dt class="location-label">{{$location}}</dt><br> 
27                 <dd class="adr">
28                         {{if $profile.address}}<div class="street-address p-street-address">{{$profile.address}}</div>{{/if}}
29                         <span class="city-state-zip">
30                                 <span class="locality p-locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}}
31                                 <span class="region p-region">{{$profile.region}}</span>
32                                 <span class="postal-code p-postal-code">{{$profile.postal_code}}</span>
33                         </span>
34                         {{if $profile.country_name}}<span class="country-name">{{$profile.country_name}}</span>{{/if}}
35                 </dd>
36                 </dl>
37         {{/if}}
38
39         {{if $gender}}<dl class="mf"><dt class="gender-label">{{$gender}}</dt> <dd class="x-gender">{{$profile.gender}}</dd></dl>{{/if}}
40         
41         {{if $profile.pubkey}}<div class="key" style="display:none;">{{$profile.pubkey}}</div>{{/if}}
42
43         {{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}}
44
45         {{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}}
46
47         {{if $about}}<dl class="about"><dt class="about-label">{{$about}}</dt><dd class="x-network">{{$profile.about}}</dd></dl>{{/if}}
48
49         {{include file="diaspora_vcard.tpl"}}
50         
51         <div id="profile-extra-links">
52                 <ul>
53                         {{if $connect}}
54                                 {{if $remoteconnect}}
55                                         <li><a id="dfrn-request-link" href="{{$remoteconnect}}">{{$connect}}</a></li>
56                                 {{else}}
57                                         <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
58                                 {{/if}}
59                         {{/if}}
60                 </ul>
61         </div>
62 </div>
63
64 {{$contact_block}}
65
66