UX: The delete button is also a dropdown

This commit is contained in:
Robin Ward 2018-01-29 19:15:03 -05:00
parent 330912e1e5
commit 95e0aa059c
2 changed files with 4 additions and 2 deletions

View File

@ -103,7 +103,9 @@
icon="external-link" icon="external-link"
label="admin.flags.ignore_flag"}} label="admin.flags.ignore_flag"}}
{{admin-delete-flag-dropdown post=flaggedPost removeAfter=(action "removeAfter")}} {{admin-delete-flag-dropdown
post=flaggedPost
removeAfter=(action "removeAfter")}}
{{#unless suspended}} {{#unless suspended}}
{{d-button {{d-button

View File

@ -9,7 +9,7 @@ export default DropdownSelectBox.extend({
computeHeaderContent() { computeHeaderContent() {
let content = this.baseHeaderComputedContent(); let content = this.baseHeaderComputedContent();
content.name = I18n.t("admin.flags.delete"); content.name = `${I18n.t("admin.flags.delete")}...`;
return content; return content;
}, },