]> git.mxchange.org Git - friendica.git/blob - view/theme/dispy-dark/profile_vcard.tpl
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
[friendica.git] / view / theme / dispy-dark / profile_vcard.tpl
1 <div class="vcard">
2
3         {{ if $profile.edit }}
4         <div class="action">
5         <span class="icon-profile-edit"></span>
6         <a href="#" rel="#profiles-menu" class="ttright" id="profiles-menu-trigger" title="$profile.edit.3">$profile.edit.1</a>
7         <ul id="profiles-menu" class="menu-popup">
8                 {{ for $profile.menu.entries as $e }}
9                 <li>
10                         <a href="profiles/$e.id"><img src='$e.photo'>$e.profile_name</a>
11                 </li>
12                 {{ endfor }}
13                 <li><a href="profile_photo" >$profile.menu.chg_photo</a></li>
14                 <li><a href="profiles/new" id="profile-listing-new-link">$profile.menu.cr_new</a></li>
15                 
16         </ul>
17         </div>
18         {{ endif }}
19
20         <div class="fn label">$profile.name</div>
21
22         {{ if $pdesc }}
23     <div class="title">$profile.pdesc</div>
24     {{ endif }}
25         <div id="profile-photo-wrapper">
26                 <img class="photo" width="175" height="175" src="$profile.photo?rev=$profile.picdate" alt="$profile.name" />
27     </div>
28
29         {{ if $location }}
30                 <div class="location">
31         <span class="location-label">$location</span>
32                 <div class="adr">
33                         {{ if $profile.address }}
34             <div class="street-address">$profile.address</div>{{ endif }}
35                         <span class="city-state-zip">
36                                 <span class="locality">$profile.locality</span>{{ if $profile.locality }}, {{ endif }}
37                                 <span class="region">$profile.region</span>
38                                 <span class="postal-code">$profile.postal-code</span>
39                         </span>
40                         {{ if $profile.country-name }}<span class="country-name">$profile.country-name</span>{{ endif }}
41                 </div>
42                 </div>
43         {{ endif }}
44
45         {{ if $gender }}
46     <div class="mf">
47         <span class="gender-label">$gender</span>
48         <span class="x-gender">$profile.gender</span>
49     </div>
50     {{ endif }}
51         
52         {{ if $profile.pubkey }}
53     <div class="key" style="display:none;">$profile.pubkey</div>
54     {{ endif }}
55
56         {{ if $marital }}
57     <div class="marital">
58     <span class="marital-label">
59     <span class="heart">&hearts;</span>$marital</span>
60     <span class="marital-text">$profile.marital</span>
61     </div>
62     {{ endif }}
63
64         {{ if $homepage }}
65     <div class="homepage">
66     <span class="homepage-label">$homepage</span>
67     <span class="homepage-url"><a href="$profile.homepage"
68     target="external-link">$profile.homepage</a></span>
69     </div>{{ endif }}
70
71         {{ inc diaspora_vcard.tpl }}{{ endinc }}
72         
73         <div id="profile-extra-links">
74                 <ul>
75                         {{ if $connect }}
76                                 <li><a id="dfrn-request-link" href="dfrn_request/$profile.nickname">$connect</a></li>
77                         {{ endif }}
78                 </ul>
79         </div>
80 </div>
81
82 $contact_block
83
84