mirror of
https://github.com/friendica/friendica
synced 2024-12-24 13:20:15 +00:00
709eba6ce3
- Add contact relationship filter to profile contacts page - Include feed contacts in contacts page and contact widget
20 lines
1,009 B
Smarty
20 lines
1,009 B
Smarty
<div class="generic-page-wrapper">
|
|
{{include file="section_title.tpl"}}
|
|
|
|
<ul class="nav nav-tabs">
|
|
<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>
|
|
</ul>
|
|
|
|
<ul id="viewcontact_wrapper{{if $id}}-{{$id}}{{/if}}" class="viewcontact_wrapper media-list">
|
|
{{foreach $contacts as $contact}}
|
|
<li>{{include file="contact_template.tpl"}}</li>
|
|
{{/foreach}}
|
|
</ul>
|
|
<div class="clear"></div>
|
|
<div id="view-contact-end"></div>
|
|
|
|
{{$paginate nofilter}}
|
|
</div>
|