From c69494524590b7ffa07fcab6780c603ded2cb720 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 9 Feb 2015 21:18:50 -0800 Subject: like formatting for extended consensus items --- view/tpl/conv_item.tpl | 90 ++++++++++++++++++-------------------------------- 1 file changed, 32 insertions(+), 58 deletions(-) (limited to 'view') diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index f30ca7fc0..95f6bb2b6 100755 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -104,72 +104,46 @@
-
- {{if $item.like_count}} + + {{if $item.responses }} +
+ {{foreach $item.responses as $verb=>$response}} + {{if $response.count}}
- - {{if $item.like_list_part}} - + + {{if $response.list_part}} + {{else}} - + {{/if}}
{{/if}} - {{if $item.dislike_count}} -
- - {{if $item.dislike_list_part}} - - {{else}} - - {{/if}} -
+ + {{if $response.list_part}} + {{/if}} -
- {{if $item.like_list_part}} - - {{/if}} - {{if $item.dislike_list_part}} - + {{/foreach}} +
{{/if}} - - {{* we dont' use this do we? - {{if $item.drop.pagedrop}} - - {{/if}} - *}} + +
- +
-- cgit v1.2.3