FEATURE: Display the reason for many reviewable items

Queued Posts and Users will now display a reason why they are in the
review queue.
This commit is contained in:
Robin Ward
2019-04-11 11:11:35 -04:00
parent 7143572e0c
commit 331a809738
13 changed files with 105 additions and 13 deletions
@@ -19,7 +19,7 @@
</td>
<td class="reviewable-score-spacer">
{{d-icon "angle-double-right"}}
{{d-icon "angle-double-right"}}
</td>
<td class='reviewed-by'>
@@ -38,12 +38,19 @@
</td>
<td>
{{#if rs.reviewed_by}}
{{format-date rs.reviewed_at format="tiny"}}
{{format-date rs.reviewed_at format="tiny"}}
{{/if}}
</td>
</tr>
{{#if rs.reason}}
<tr>
<td colspan='7'>
<div class='reviewable-score-reason'>{{{rs.reason}}}</div>
</td>
</tr>
{{/if}}
{{#if rs.reviewable_conversation}}
<tr>
<td colspan='7'>