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"> <div class="markdown-content">
{{#if text}} {{#if text}}
{{{text}}} {{{text}}}
{{else if isReshare}} {{else}}
<div class="reshare"> {{#unless largePhoto}}
<p> {{#if isReshare}}
{{t "stream.original_post_deleted"}} <div class="reshare">
</p> <p>
</div> {{t "stream.original_post_deleted"}}
</p>
</div>
{{/if}}
{{/unless}}
{{/if}} {{/if}}
</div> </div>
<div class="oembed"></div> <div class="oembed"></div>