]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/widget/remote_friends_common.tpl
Merge pull request #12371 from loma-one/patch-1
[friendica.git] / view / templates / widget / remote_friends_common.tpl
index 4ae682f4361bb453b3ac5d4a8e5c12faab79555c..74d8e668049e911761ead4a6b3cbe2b5d07b3826 100644 (file)
@@ -1,22 +1,18 @@
-
 <div id="remote-friends-in-common" class="bigwidget">
-       <div id="rfic-desc">{{$desc nofilter}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{if $linkmore}}<a href="{{$base}}/common/rem/{{$uid}}/{{$cid}}">{{$more}}</a>{{/if}}</div>
-       {{if $items}}
-       {{foreach $items as $item}}
+       <div id="rfic-desc">{{$desc nofilter}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{if $linkmore}}<a href="profile/{{$nickname}}/contacts/common">{{$more}}</a>{{/if}}</div>
+       {{foreach $contacts as $contact}}
        <div class="profile-match-wrapper">
                <div class="profile-match-photo">
-                       <a href="{{$item.url}}">
-                               <img src="{{$item.photo}}" width="80" height="80" alt="{{$item.name}}" title="{{$item.name}}" />
+                       <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="{{$item.url}}" title="{{$item.name}}">{{$item.name}}</a>
+                       <a href="{{$contact.url}}" title="{{$contact.name}}">{{$contact.name}}</a>
                </div>
                <div class="profile-match-end"></div>
        </div>
        {{/foreach}}
-       {{/if}}
        <div id="rfic-end" class="clear"></div>
 </div>
-