mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
UX: Pending Posts at the bottom of topics looked wonky
This commit is contained in:
parent
451340d058
commit
06072b3d99
2 changed files with 15 additions and 13 deletions
|
@ -186,6 +186,19 @@
|
||||||
{{#conditional-loading-spinner condition=model.postStream.loadingFilter}}
|
{{#conditional-loading-spinner condition=model.postStream.loadingFilter}}
|
||||||
{{#if loadedAllPosts}}
|
{{#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
|
{{topic-timer-info
|
||||||
statusType=model.topic_timer.status_type
|
statusType=model.topic_timer.status_type
|
||||||
executeAt=model.topic_timer.execute_at
|
executeAt=model.topic_timer.execute_at
|
||||||
|
@ -224,19 +237,6 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/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}}
|
{{#if showSelectedPostsAtBottom}}
|
||||||
<div class='selected-posts {{unless multiSelect 'hidden'}}'>
|
<div class='selected-posts {{unless multiSelect 'hidden'}}'>
|
||||||
{{partial "selected-posts"}}
|
{{partial "selected-posts"}}
|
||||||
|
|
|
@ -95,6 +95,8 @@
|
||||||
a[href] {
|
a[href] {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
margin-top: 1em;
|
||||||
|
max-width: 757px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Target the .badge-category text, the bullet icon needs to maintain `display: block`
|
// Target the .badge-category text, the bullet icon needs to maintain `display: block`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue