Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c82798
commit 5c1147a
Showing
12 changed files
with
100 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
app/assets/javascripts/discourse/app/components/topic-dismiss-buttons.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
{{#if this.showBasedOnPosition}} | ||
{{~#if this.showBasedOnPosition}} | ||
<div class="row {{this.containerClass}}"> | ||
{{#if this.showDismissRead}} | ||
{{~#if this.showDismissRead}} | ||
<DButton | ||
@action={{this.dismissReadPosts}} | ||
@translatedLabel={{this.dismissLabel}} | ||
@title="topics.bulk.dismiss_tooltip" | ||
id={{this.dismissReadId}} | ||
class="btn-default dismiss-read" | ||
/> | ||
{{/if}} | ||
{{#if this.showResetNew}} | ||
{{/if~}} | ||
{{~#if this.showResetNew}} | ||
<DButton | ||
@action={{this.resetNew}} | ||
@icon="check" | ||
@translatedLabel={{this.dismissNewLabel}} | ||
id={{this.dismissNewId}} | ||
class="btn-default dismiss-read" | ||
/> | ||
{{/if}} | ||
{{/if~}} | ||
</div> | ||
{{/if}} | ||
{{/if~}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,6 +76,10 @@ | |
} | ||
} | ||
} | ||
|
||
.dismiss-container-top:empty { | ||
display: none; | ||
} | ||
} | ||
|
||
.category-heading { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5c1147a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit has been mentioned on Discourse Meta. There might be relevant details there:
https://meta.discourse.org/t/dismiss-button-not-dismissing/298231/3
5c1147a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit has been mentioned on Discourse Meta. There might be relevant details there:
https://meta.discourse.org/t/how-to-move-back-the-top-dismiss-button-to-topics-template/298672/1