2019-05-18 11:47:39 -04:00
|
|
|
<div class="generic-page-wrapper">
|
|
|
|
{{include file="section_title.tpl"}}
|
|
|
|
|
2020-08-04 23:02:43 -04:00
|
|
|
{{if $desc}}
|
|
|
|
<p>{{$desc nofilter}}</p>
|
|
|
|
{{/if}}
|
|
|
|
|
2019-05-18 11:47:39 -04:00
|
|
|
<ul class="nav nav-tabs">
|
2020-08-04 23:02:43 -04:00
|
|
|
<li role="presentation"{{if !$type || $type == 'all'}} class="active"{{/if}}>
|
|
|
|
<a href="profile/{{$nickname}}/contacts">{{$all_label}}</a>
|
|
|
|
</li>
|
|
|
|
<li role="presentation"{{if $type == 'followers'}} class="active"{{/if}}>
|
|
|
|
<a href="profile/{{$nickname}}/contacts/followers">{{$followers_label}}</a>
|
|
|
|
</li>
|
|
|
|
<li role="presentation"{{if $type == 'following'}} class="active"{{/if}}>
|
|
|
|
<a href="profile/{{$nickname}}/contacts/following">{{$following_label}}</a>
|
|
|
|
</li>
|
|
|
|
<li role="presentation"{{if $type == 'mutuals'}} class="active"{{/if}}>
|
|
|
|
<a href="profile/{{$nickname}}/contacts/mutuals">{{$mutuals_label}}</a>
|
|
|
|
</li>
|
2020-08-04 23:03:54 -04:00
|
|
|
{{if $displayCommonTab}}
|
|
|
|
<li role="presentation"{{if $type == 'common'}} class="active"{{/if}}>
|
|
|
|
<a href="profile/{{$nickname}}/contacts/common" class="tab button">{{$common_label}}</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2019-05-18 11:47:39 -04:00
|
|
|
</ul>
|
2020-08-04 23:02:43 -04:00
|
|
|
{{if $contacts}}
|
2019-05-18 11:47:39 -04:00
|
|
|
<ul id="viewcontact_wrapper{{if $id}}-{{$id}}{{/if}}" class="viewcontact_wrapper media-list">
|
2020-08-04 23:02:43 -04:00
|
|
|
{{foreach $contacts as $contact}}
|
2019-05-18 11:47:39 -04:00
|
|
|
<li>{{include file="contact_template.tpl"}}</li>
|
2020-08-04 23:02:43 -04:00
|
|
|
{{/foreach}}
|
2019-05-18 11:47:39 -04:00
|
|
|
</ul>
|
2020-08-04 23:02:43 -04:00
|
|
|
{{else}}
|
|
|
|
<div class="alert alert-info" role="alert">{{$noresult_label}}</div>
|
|
|
|
{{/if}}
|
2019-05-18 11:47:39 -04:00
|
|
|
<div class="clear"></div>
|
|
|
|
<div id="view-contact-end"></div>
|
|
|
|
|
|
|
|
{{$paginate nofilter}}
|
|
|
|
</div>
|