]> git.mxchange.org Git - friendica.git/blob - view/templates/profile/contacts.tpl
Rework Module\Profile\Contacts class
[friendica.git] / view / 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 role="menubar" class="tabs">
9                 <li role="menuitem"><a href="profile/{{$nickname}}/contacts" class="tab button{{if !$type || $type == 'all'}} active{{/if}}">{{$all_label}}</a></li>
10                 <li role="menuitem"><a href="profile/{{$nickname}}/contacts/followers" class="tab button{{if $type == 'followers'}} active{{/if}}">{{$followers_label}}</a></li>
11                 <li role="menuitem"><a href="profile/{{$nickname}}/contacts/following" class="tab button{{if $type == 'following'}} active{{/if}}">{{$following_label}}</a></li>
12                 <li role="menuitem"><a href="profile/{{$nickname}}/contacts/mutuals" class="tab button{{if $type == 'mutuals'}} active{{/if}}">{{$mutuals_label}}</a></li>
13         </ul>
14 {{if $contacts}}
15         <div id="viewcontact_wrapper-{{$id}}">
16         {{foreach $contacts as $contact}}
17                 {{include file="contact_template.tpl"}}
18         {{/foreach}}
19         </div>
20 {{else}}
21         <div class="alert alert-info" role="alert">{{$noresult_label}}</div>
22 {{/if}}
23
24         <div class="clear"></div>
25         <div id="view-contact-end"></div>
26
27         {{$paginate nofilter}}
28 </div>