-
Notifications
You must be signed in to change notification settings - Fork 0
/
list-members.tpl
47 lines (43 loc) · 2.42 KB
/
list-members.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<div class="ia-item">
<div class="ia-item__image">
{ia_image file=$listing.avatar type='thumbnail' title=$listing.fullname|default:$listing.username class='img-circle' gravatar=true email=$listing.email width=200}
</div>
<div class="ia-item__content">
<div class="ia-item__actions">
{printFavorites item=$listing itemtype='members' guests=true tpl='no-text'}
{accountActions item=$listing itemtype='members'}
<a href="{$listing.link}">{lang key='view_profile'} <span class="fa fa-angle-double-right"></span></a>
</div>
<h4 class="ia-item__title">
<a href="{$listing.link}">{$listing.fullname|default:$listing.username}</a>
</h4>
<div class="ia-item__additional">
{if !empty($listing.phone)}
<p><span class="fa fa-phone"></span> {$listing.phone|escape}</p>
{/if}
{if !empty($listing.website)}
<p><span class="fa fa-globe"></span> <a href="{$listing.website|escape}" target="_blank">{lang key='field_member_website'}</a></p>
{/if}
{if !empty($listing.facebook)}
<p><span class="fa fa-facebook"></span> <a href="{$listing.facebook|escape}" target="_blank">{lang key='field_member_facebook'}</a></p>
{/if}
{if !empty($listing.twitter)}
<p><span class="fa fa-twitter"></span> <a href="{$listing.twitter|escape}" target="_blank">{lang key='field_member_twitter'}</a></p>
{/if}
{if !empty($listing.gplus)}
<p><span class="fa fa-google-plus"></span> <a href="{$listing.gplus|escape}" target="_blank">{lang key='field_member_gplus'}</a></p>
{/if}
{if !empty($listing.linkedin)}
<p><span class="fa fa-linkedin"></span> <a href="{$listing.linkedin|escape}" target="_blank">{lang key='field_member_linkedin'}</a></p>
{/if}
</div>
{if !empty($listing.biography)}
<p>{$listing.biography|escape|truncate:250:'...':true}</p>
{/if}
{foreach $fields as $field}
{if !in_array($field.name, array('username', 'avatar', 'fullname', 'phone', 'website', 'facebook', 'twitter', 'gplus', 'linkedin', 'biography')) && 'plan_id' != $field.name}
{include file='field-type-content-view.tpl' wrappedValues=true item=$listing}
{/if}
{/foreach}
</div>
</div>