From f7cce634479bb95258209a6aadb9becd3c6b94a3 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 10 Feb 2015 00:44:34 -0800 Subject: cleanup event attendance - make sure it works in list mode. --- view/tpl/conv_list.tpl | 90 +++++++++++++++++++++++--------------------------- 1 file changed, 41 insertions(+), 49 deletions(-) (limited to 'view/tpl/conv_list.tpl') diff --git a/view/tpl/conv_list.tpl b/view/tpl/conv_list.tpl index 59bb8f918..3d4b7608d 100755 --- a/view/tpl/conv_list.tpl +++ b/view/tpl/conv_list.tpl @@ -65,6 +65,19 @@ {{/if}} + + {{if $item.isevent}} + + + + {{/if}} + @@ -110,63 +123,42 @@
{{if $item.unseen_comments}}
{{/if}} - {{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}} + {{/foreach}}
- {{if $item.like_list_part}} - - {{/if}} - {{if $item.dislike_list_part}} - {{/if}} +
-- cgit v1.2.3