]> git.mxchange.org Git - friendica.git/blob - view/theme/diabook/directory_item.tpl
70d19795513ced1dea3bafbefdbb2cb608d79372
[friendica.git] / view / theme / diabook / directory_item.tpl
1
2 <div class="directory-item" id="directory-item-$id" >
3         <div class="directory-photo-wrapper" id="directory-photo-wrapper-$id" > 
4                 <div class="directory-photo" id="directory-photo-$id" >
5                         <a href="$profile-link" class="directory-profile-link" id="directory-profile-link-$id" >
6                                 <img class="directory-photo-img photo" src="$photo" alt="$alt-text" title="$alt-text" />
7                         </a>
8                 </div>
9         </div>
10         <div class="directory-profile-wrapper" id="directory-profile-wrapper-$id" >
11                 <div class="contact-name" id="directory-name-$id">$name</div>
12                 <div class="page-type">$page-type</div>
13                 {{ if $pdesc }}<div class="directory-profile-title">$profile.pdesc</div>{{ endif }}
14         <div class="directory-detailcolumns-wrapper" id="directory-detailcolumns-wrapper-$id">
15                 <div class="directory-detailscolumn-wrapper" id="directory-detailscolumn1-wrapper-$id"> 
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">$profile.address</div>{{ endif }}
20                                         <span class="city-state-zip">
21                                                 <span class="locality">$profile.locality</span>{{ if $profile.locality }}, {{ endif }}
22                                                 <span class="region">$profile.region</span>
23                                                 <span class="postal-code">$profile.postal-code</span>
24                                         </span>
25                                         {{ if $profile.country-name }}<span class="country-name">$profile.country-name</span>{{ endif }}
26                                 </dd>
27                                 </dl>
28                         {{ endif }}
29
30                         {{ if $gender }}<dl class="mf"><dt class="gender-label">$gender</dt> <dd class="x-gender">$profile.gender</dd></dl>{{ endif }}
31                         </div>  
32                         <div class="directory-detailscolumn-wrapper" id="directory-detailscolumn2-wrapper-$id"> 
33                                 {{ if $marital }}<dl class="marital"><dt class="marital-label"><span class="heart">&hearts;</span>$marital</dt><dd class="marital-text">$profile.marital</dd></dl>{{ endif }}
34
35                                 {{ if $homepage }}<dl class="homepage"><dt class="homepage-label">$homepage</dt><dd class="homepage-url"><a href="$profile.homepage" target="external-link">$profile.homepage</a></dd></dl>{{ endif }}
36                         </div>
37                 </div>
38                 <div class="directory-copy-wrapper" id="directory-copy-wrapper-$id" >
39                         {{ if $about }}<dl class="directory-copy"><dt class="directory-copy-label">$about</dt><dd class="directory-copy-data">$profile.about</dd></dl>{{ endif }}
40                 </div>
41         </div>
42 </div>