UX: Pending Posts at the bottom of topics looked wonky

This commit is contained in:
Robin Ward 2017-09-26 10:27:24 -04:00
parent 451340d058
commit 06072b3d99
2 changed files with 15 additions and 13 deletions

View File

@ -186,6 +186,19 @@
{{#conditional-loading-spinner condition=model.postStream.loadingFilter}}
{{#if loadedAllPosts}}
{{#if model.pending_posts_count}}
<div class="has-pending-posts">
{{{i18n "queue.has_pending_posts" count=model.pending_posts_count}}}
{{#if currentUser.show_queued_posts}}
{{#link-to "queued-posts"}}
{{d-icon "check"}}
{{i18n "queue.view_pending"}}
{{/link-to}}
{{/if}}
</div>
{{/if}}
{{topic-timer-info
statusType=model.topic_timer.status_type
executeAt=model.topic_timer.execute_at
@ -224,19 +237,6 @@
{{/if}}
{{/if}}
{{#if model.pending_posts_count}}
<div class="has-pending-posts">
{{{i18n "queue.has_pending_posts" count=model.pending_posts_count}}}
{{#if currentUser.show_queued_posts}}
{{#link-to "queued-posts"}}
{{d-icon "check"}}
{{i18n "queue.view_pending"}}
{{/link-to}}
{{/if}}
</div>
{{/if}}
{{#if showSelectedPostsAtBottom}}
<div class='selected-posts {{unless multiSelect 'hidden'}}'>
{{partial "selected-posts"}}

View File

@ -95,6 +95,8 @@
a[href] {
float: right;
}
margin-top: 1em;
max-width: 757px;
}
// Target the .badge-category text, the bullet icon needs to maintain `display: block`