fixes reshares with no text but with photo

regression from 1da1c53f203e6eb9dad50872e573a4965219ef92

closes #5976
This commit is contained in:
Benjamin Neff 2015-05-20 22:40:53 +02:00 committed by Jonne Haß
parent 9a4a7255e7
commit 9cc0faa4e6

View file

@ -18,12 +18,16 @@
<div class="markdown-content">
{{#if text}}
{{{text}}}
{{else if isReshare}}
<div class="reshare">
<p>
{{t "stream.original_post_deleted"}}
</p>
</div>
{{else}}
{{#unless largePhoto}}
{{#if isReshare}}
<div class="reshare">
<p>
{{t "stream.original_post_deleted"}}
</p>
</div>
{{/if}}
{{/unless}}
{{/if}}
</div>
<div class="oembed"></div>