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