Files
discourse/app/assets/javascripts/discourse/templates/components/reviewable-flagged-post.hbs
romanrizzi f795c1b8e8 Revert "DEV: enforces ember-template-lint: no-triple-curlies (#9150)"
This reverts commit d436b600fb.

Triple curlies are still necessary for some raw templates.
2020-03-10 15:00:12 -03:00

27 lines
863 B
Handlebars

<div class='flagged-post-header'>
{{reviewable-topic-link reviewable=reviewable tagName=''}}
{{#if hasEdits}}
<a href {{action "showEditHistory"}}
class="has-edits {{historyClass}}"
title="{{i18n "post.last_edited_on"}} {{editedDate}}">
{{d-icon "pencil-alt"}}
</a>
{{/if}}
</div>
<div class='post-contents-wrapper'>
{{reviewable-created-by user=reviewable.target_created_by tagName=''}}
<div class='post-contents'>
{{reviewable-post-header reviewable=reviewable createdBy=reviewable.target_created_by tagName=''}}
<div class='post-body'>
{{#if reviewable.blank_post}}
<p>{{i18n "review.deleted_post"}}</p>
{{else}}
{{{reviewable.cooked}}}
{{/if}}
</div>
{{plugin-outlet name="after-reviewable-flagged-post-body" args=(hash model=reviewable)}}
{{yield}}
</div>
</div>