]> git.mxchange.org Git - friendica.git/commitdiff
Update remote_friends_common.tpl
authorRaroun <Raroun@users.noreply.github.com>
Tue, 26 Dec 2023 15:43:23 +0000 (16:43 +0100)
committerGitHub <noreply@github.com>
Tue, 26 Dec 2023 15:43:23 +0000 (16:43 +0100)
Addes collapsable remote friends in common for frio and vier

view/templates/widget/remote_friends_common.tpl

index e9a801a4342378504b4090db9003ee3c0102ea9b..27728fec6a4b67ecd677c57061a666f13c2456a6 100644 (file)
@@ -1,18 +1,20 @@
-<div id="rfic-desc">{{$desc nofilter}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{if $linkmore}}<a href="profile/{{$nickname}}/contacts/common">{{$more}}</a>{{/if}}</div>
-       <div id="remote-friends-in-common" class="bigwidget">
-               {{foreach $contacts as $contact}}
-               <div class="profile-match-wrapper">
-                       <div class="profile-match-photo">
-                               <a href="{{$contact.url}}">
-                                       <img src="{{$contact.photo}}" width="80" height="80" alt="{{$contact.name}}" title="{{$contact.name}}" />
-                               </a>
+<div id="rfic-desc" onclick="openClose('remote-friends-in-common-wrapper');">{{$desc nofilter}}&emsp;&emsp;{{if $linkmore}}<a href="profile/{{$nickname}}/contacts/common">{{$more}}</a>{{/if}}</div>
+       <div id="remote-friends-in-common-wrapper">
+               <div id="remote-friends-in-common" class="bigwidget" >
+                       {{foreach $contacts as $contact}}
+                       <div class="profile-match-wrapper">
+                               <div class="profile-match-photo">
+                                       <a href="{{$contact.url}}">
+                                               <img src="{{$contact.photo}}" width="80" height="80" alt="{{$contact.name}}" title="{{$contact.name}}" />
+                                       </a>
+                               </div>
+                               <div class="profile-match-break"></div>
+                               <div class="profile-match-name">
+                                       <a href="{{$contact.url}}" title="{{$contact.name}}">{{$contact.name}}</a>
+                               </div>
+                               <div class="profile-match-end"></div>
                        </div>
-                       <div class="profile-match-break"></div>
-                       <div class="profile-match-name">
-                               <a href="{{$contact.url}}" title="{{$contact.name}}">{{$contact.name}}</a>
-                       </div>
-                       <div class="profile-match-end"></div>
+                       {{/foreach}}
+                       <div id="rfic-end" class="clear"></div>
                </div>
-               {{/foreach}}
-               <div id="rfic-end" class="clear"></div>
        </div>