UX: Show the `Dismiss New` button at the top of the topics. (#12403)
We want to be consistent across desktop and mobile.
This commit is contained in:
parent
e10a74694a
commit
dc3af285b2
|
@ -1,3 +1,24 @@
|
||||||
|
{{#if showDismissAtTop}}
|
||||||
|
<div class="row dismiss-container-top">
|
||||||
|
{{#if showDismissRead}}
|
||||||
|
{{d-button
|
||||||
|
class="btn-default dismiss-read"
|
||||||
|
id="dismiss-topics-top"
|
||||||
|
action=(action "dismissReadPosts")
|
||||||
|
title="topics.bulk.dismiss_tooltip"
|
||||||
|
label="topics.bulk.dismiss_button"}}
|
||||||
|
{{/if}}
|
||||||
|
{{#if showResetNew}}
|
||||||
|
{{d-button
|
||||||
|
class="btn-default dismiss-read"
|
||||||
|
id="dismiss-new-top"
|
||||||
|
action=(action "resetNew")
|
||||||
|
icon="check"
|
||||||
|
label="topics.bulk.dismiss_new"}}
|
||||||
|
{{/if}}
|
||||||
|
</div>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
{{#discovery-topics-list model=model refresh=(action "refresh") incomingCount=topicTrackingState.incomingCount as |discoveryTopicList|}}
|
{{#discovery-topics-list model=model refresh=(action "refresh") incomingCount=topicTrackingState.incomingCount as |discoveryTopicList|}}
|
||||||
{{#if top}}
|
{{#if top}}
|
||||||
<div class="top-lists">
|
<div class="top-lists">
|
||||||
|
|
|
@ -428,7 +428,7 @@ tr.category-topic-link {
|
||||||
}
|
}
|
||||||
|
|
||||||
button.dismiss-read {
|
button.dismiss-read {
|
||||||
margin-right: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// base defines extra padding for easier click/top of title field
|
// base defines extra padding for easier click/top of title field
|
||||||
|
|
Loading…
Reference in New Issue