From 6f8d29ad8076fc53019739cdc9afa3d15d250d8e Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 22 Oct 2015 10:52:10 +0200 Subject: move photo object stuff from itemObject to prepare_body() so we can do more stuff with it --- view/tpl/conv_item.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/tpl/conv_item.tpl') diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index 0a6622fa4..e6e9d880e 100755 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -33,9 +33,9 @@
- {{if $item.is_photo}} + {{if $item.photo}}
- + {{$item.photo}}
{{/if}} {{if $item.body}} -- cgit v1.2.3 From bcb4ac7aaeedbd776b3eb1cb66f85eb48a14040c Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 22 Oct 2015 12:58:11 +0200 Subject: experiment: put the photo-item photo on top of the post --- view/tpl/conv_item.tpl | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'view/tpl/conv_item.tpl') diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index e6e9d880e..760d64db0 100755 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -8,6 +8,11 @@
+ {{if $item.photo}} +
+ {{$item.photo}} +
+ {{/if}}
@@ -33,11 +38,7 @@
- {{if $item.photo}} -
- {{$item.photo}} -
- {{/if}} + {{if $item.body}}
-- cgit v1.2.3