From 9cc0faa4e67ff2ccbc057afa434eca15b86a1be4 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Wed, 20 May 2015 22:40:53 +0200 Subject: [PATCH] fixes reshares with no text but with photo regression from 1da1c53f203e6eb9dad50872e573a4965219ef92 closes #5976 --- app/assets/templates/status-message_tpl.jst.hbs | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/app/assets/templates/status-message_tpl.jst.hbs b/app/assets/templates/status-message_tpl.jst.hbs index f6689bf30..cf576b853 100644 --- a/app/assets/templates/status-message_tpl.jst.hbs +++ b/app/assets/templates/status-message_tpl.jst.hbs @@ -18,12 +18,16 @@
{{#if text}} {{{text}}} - {{else if isReshare}} -
-

- {{t "stream.original_post_deleted"}} -

-
+ {{else}} + {{#unless largePhoto}} + {{#if isReshare}} +
+

+ {{t "stream.original_post_deleted"}} +

+
+ {{/if}} + {{/unless}} {{/if}}