]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/profile/contacts.tpl
Merge remote-tracking branch 'upstream/2022.12-rc' into diaspora-reshare
[friendica.git] / view / templates / profile / contacts.tpl
index 90ef867c7754092442bf4636454d09e723431354..615ab1e0fb7ce72bf588142e70be373bf0dfeeba 100644 (file)
@@ -5,16 +5,12 @@
        <p>{{$desc nofilter}}</p>
 {{/if}}
 
-       <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>
+       {{include file="page_tabs.tpl" tabs=$tabs}}
+
 {{if $contacts}}
        <div id="viewcontact_wrapper-{{$id}}">
        {{foreach $contacts as $contact}}
-               {{include file="contact_template.tpl"}}
+               {{include file="contact/entry.tpl"}}
        {{/foreach}}
        </div>
 {{else}}