From 72a19a14aff7a13a8c1fb10e773784643f68d234 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Tue, 19 Sep 2017 17:35:57 -0700 Subject: turn common friends into a widget --- view/tpl/common_friends.tpl | 2 +- view/tpl/remote_friends_common.tpl | 39 ++++++++++++++++++++++---------------- 2 files changed, 24 insertions(+), 17 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/common_friends.tpl b/view/tpl/common_friends.tpl index 489717e78..fa2cf5a13 100755 --- a/view/tpl/common_friends.tpl +++ b/view/tpl/common_friends.tpl @@ -1,4 +1,4 @@ -
+
{{$name}} diff --git a/view/tpl/remote_friends_common.tpl b/view/tpl/remote_friends_common.tpl index d6d2fd211..7ec1a2e6b 100755 --- a/view/tpl/remote_friends_common.tpl +++ b/view/tpl/remote_friends_common.tpl @@ -1,21 +1,28 @@ -
- - {{if $items}} - {{foreach $items as $item}} -
-
- - {{$item.xchan_name}} - +
+
+ -
-
- {{$item.xchan_name}} +
+ {{if $items}} + {{foreach $items as $item}} +
+
+ + {{$item.xchan_name}} + +
+
+ +
+
+ {{/foreach}} + {{/if}} +
+ {{if $linkmore}}{{/if}}
-
- {{/foreach}} - {{/if}} -
-- cgit v1.2.3