]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/profile/contacts.tpl
Add Module\Profile\Common class
[friendica.git] / view / theme / frio / templates / profile / contacts.tpl
1 <div class="generic-page-wrapper">
2         {{include file="section_title.tpl"}}
3
4 {{if $desc}}
5         <p>{{$desc nofilter}}</p>
6 {{/if}}
7
8         <ul class="nav nav-tabs">
9                 <li role="presentation"{{if !$type || $type == 'all'}} class="active"{{/if}}>
10                         <a href="profile/{{$nickname}}/contacts">{{$all_label}}</a>
11                 </li>
12                 <li role="presentation"{{if $type == 'followers'}} class="active"{{/if}}>
13                         <a href="profile/{{$nickname}}/contacts/followers">{{$followers_label}}</a>
14                 </li>
15                 <li role="presentation"{{if $type == 'following'}} class="active"{{/if}}>
16                         <a href="profile/{{$nickname}}/contacts/following">{{$following_label}}</a>
17                 </li>
18                 <li role="presentation"{{if $type == 'mutuals'}} class="active"{{/if}}>
19                         <a href="profile/{{$nickname}}/contacts/mutuals">{{$mutuals_label}}</a>
20                 </li>
21         {{if $displayCommonTab}}
22                 <li role="presentation"{{if $type == 'common'}} class="active"{{/if}}>
23                         <a href="profile/{{$nickname}}/contacts/common" class="tab button">{{$common_label}}</a>
24                 </li>
25         {{/if}}
26         </ul>
27 {{if $contacts}}
28         <ul id="viewcontact_wrapper{{if $id}}-{{$id}}{{/if}}" class="viewcontact_wrapper media-list">
29         {{foreach $contacts as $contact}}
30                 <li>{{include file="contact_template.tpl"}}</li>
31         {{/foreach}}
32         </ul>
33 {{else}}
34         <div class="alert alert-info" role="alert">{{$noresult_label}}</div>
35 {{/if}}
36         <div class="clear"></div>
37         <div id="view-contact-end"></div>
38
39         {{$paginate nofilter}}
40 </div>