If a post arrives via email but must be reviewed, we now show an icon that can be clicked to view the raw contents of the email. This is useful if Discourse's email parser is acting odd and the user reviewing the post wants to know what the original contents were before approving/rejecting the post.
28 lines
832 B
Handlebars
28 lines
832 B
Handlebars
{{#reviewable-topic-link reviewable=reviewable tagName=''}}
|
|
<div class="title-text">
|
|
{{d-icon "plus-square" title="review.new_topic"}}
|
|
{{reviewable.payload.title}}
|
|
</div>
|
|
{{category-badge reviewable.category}}
|
|
{{reviewable-tags tags=reviewable.payload.tags tagName=''}}
|
|
{{#if reviewable.payload.via_email}}
|
|
<a href {{action "showRawEmail"}} class='show-raw-email'>
|
|
{{d-icon "far-envelope" title="post.via_email"}}
|
|
</a>
|
|
{{/if}}
|
|
{{/reviewable-topic-link}}
|
|
|
|
<div class='post-contents-wrapper'>
|
|
{{reviewable-created-by user=reviewable.created_by tagName=''}}
|
|
|
|
<div class='post-contents'>
|
|
{{reviewable-post-header reviewable=reviewable createdBy=reviewable.created_by tagName=''}}
|
|
|
|
<div class='post-body'>
|
|
{{cook-text reviewable.payload.raw}}
|
|
</div>
|
|
|
|
{{yield}}
|
|
</div>
|
|
</div>
|