If there are pending posts in a topic, display a message at the bottom

This commit is contained in:
Robin Ward
2015-04-27 15:55:10 -04:00
parent ecafbb0a63
commit 8c930c97e0
5 changed files with 36 additions and 1 deletions
@@ -89,6 +89,17 @@
{{view 'topic-closing' topic=model}}
{{view 'topic-footer-buttons' topic=model}}
{{#if pending_posts_count}}
<div class='has-pending-posts'>
{{{i18n "queue.has_pending_posts" count=pending_posts_count}}}
{{#link-to 'queued-posts'}}
{{fa-icon 'check'}}
{{i18n 'queue.view_pending'}}
{{/link-to}}
</div>
{{/if}}
{{plugin-outlet "topic-above-suggested"}}
{{#if details.suggested_topics.length}}