From 5920a96da7f71b45b7d386d27da2c130e3ddb23f Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 31 Oct 2015 00:38:01 +0100 Subject: make attachments appear in a dropdown in wall-item-tools-left --- view/tpl/conv_item.tpl | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'view/tpl/conv_item.tpl') diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index 760d64db0..4782f827b 100755 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -69,11 +69,6 @@ {{$item.folders}} {{/if}} - {{if $item.attachments}} -
- {{$item.attachments}} -
- {{/if}}
{{/if}} @@ -157,9 +152,15 @@
- {{if $item.responses }} -
- {{foreach $item.responses as $verb=>$response}} + {{if $item.responses || $item.attachments}} +
+ {{if $item.attachments}} +
+ + +
+ {{/if}} + {{foreach $item.responses as $verb=>$response}} {{if $response.count}}
@@ -188,7 +189,7 @@ {{/if}}
{{/if}} - {{/foreach}} + {{/foreach}}
{{/if}}
-- cgit v1.2.3