]> git.mxchange.org Git - friendica.git/blob - view/theme/diabook/smarty3/directory_item.tpl
add warning message about automatically generated templates
[friendica.git] / view / theme / diabook / smarty3 / directory_item.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}
6 <div class="directory-item" id="directory-item-{{$id}}" >
7         <div class="directory-photo-wrapper" id="directory-photo-wrapper-{{$id}}" > 
8                 <div class="directory-photo" id="directory-photo-{{$id}}" >
9                         <a href="{{$profile_link}}" class="directory-profile-link" id="directory-profile-link-{{$id}}" >
10                                 <img class="directory-photo-img photo" src="{{$photo}}" alt="{{$alt_text}}" title="{{$alt_text}}" />
11                         </a>
12                 </div>
13         </div>
14         <div class="directory-profile-wrapper" id="directory-profile-wrapper-{{$id}}" >
15                 <div class="contact-name" id="directory-name-{{$id}}">{{$name}}</div>
16                 <div class="page-type">{{$page_type}}</div>
17                 {{if $pdesc}}<div class="directory-profile-title">{{$profile.pdesc}}</div>{{/if}}
18         <div class="directory-detailcolumns-wrapper" id="directory-detailcolumns-wrapper-{{$id}}">
19                 <div class="directory-detailscolumn-wrapper" id="directory-detailscolumn1-wrapper-{{$id}}">     
20                         {{if $location}}
21                             <dl class="location"><dt class="location-label">{{$location}}</dt>
22                                 <dd class="adr">
23                                         {{if $profile.address}}<div class="street-address">{{$profile.address}}</div>{{/if}}
24                                         <span class="city-state-zip">
25                                                 <span class="locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}}
26                                                 <span class="region">{{$profile.region}}</span>
27                                                 <span class="postal-code">{{$profile.postal_code}}</span>
28                                         </span>
29                                         {{if $profile.country_name}}<span class="country-name">{{$profile.country_name}}</span>{{/if}}
30                                 </dd>
31                                 </dl>
32                         {{/if}}
33
34                         {{if $gender}}<dl class="mf"><dt class="gender-label">{{$gender}}</dt> <dd class="x-gender">{{$profile.gender}}</dd></dl>{{/if}}
35                         </div>  
36                         <div class="directory-detailscolumn-wrapper" id="directory-detailscolumn2-wrapper-{{$id}}">     
37                                 {{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}}
38
39                                 {{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>{{/if}}
40                         </div>
41                 </div>
42                 <div class="directory-copy-wrapper" id="directory-copy-wrapper-{{$id}}" >
43                         {{if $about}}<dl class="directory-copy"><dt class="directory-copy-label">{{$about}}</dt><dd class="directory-copy-data">{{$profile.about}}</dd></dl>{{/if}}
44                 </div>
45         </div>
46 </div>