diff --git a/app/assets/javascripts/discourse/components/topic-status.js b/app/assets/javascripts/discourse/components/topic-status.js index 569292eb5ef..19f16b3ca36 100644 --- a/app/assets/javascripts/discourse/components/topic-status.js +++ b/app/assets/javascripts/discourse/components/topic-status.js @@ -23,15 +23,21 @@ export default Component.extend({ @discourseComputed("topic.closed", "topic.archived") topicClosedArchived(closed, archived) { if (closed && archived) { - this._set("closedArchived", "lock", "locked_and_archived"); + this._set( + "closedArchived", + "discourse-comment-slash", + "locked_and_archived" + ); this._reset("closed"); this._reset("archived"); return true; } else { this._reset("closedArchived"); - closed ? this._set("closed", "lock", "locked") : this._reset("closed"); + closed + ? this._set("closed", "discourse-comment-slash", "locked") + : this._reset("closed"); archived - ? this._set("archived", "lock", "archived") + ? this._set("archived", "discourse-comment-slash", "archived") : this._reset("archived"); return false; } diff --git a/app/assets/javascripts/discourse/controllers/topic-bulk-actions.js b/app/assets/javascripts/discourse/controllers/topic-bulk-actions.js index 723e7fee54a..d8416436b55 100644 --- a/app/assets/javascripts/discourse/controllers/topic-bulk-actions.js +++ b/app/assets/javascripts/discourse/controllers/topic-bulk-actions.js @@ -30,7 +30,7 @@ addBulkButton("showChangeCategory", "change_category", { class: "btn-default" }); addBulkButton("closeTopics", "close_topics", { - icon: "lock", + icon: "discourse-comment-slash", class: "btn-default" }); addBulkButton("archiveTopics", "archive_topics", { diff --git a/app/assets/javascripts/discourse/helpers/topic-status-icons.js b/app/assets/javascripts/discourse/helpers/topic-status-icons.js index 2f2da65a250..a1776e4f6f2 100644 --- a/app/assets/javascripts/discourse/helpers/topic-status-icons.js +++ b/app/assets/javascripts/discourse/helpers/topic-status-icons.js @@ -10,10 +10,10 @@ export default ArrayProxy.extend({ }; if (topic.get("closed") && topic.get("archived")) { - renderIcon("lock", "locked_and_archived"); + renderIcon("discourse-comment-slash", "locked_and_archived"); } else { - renderIconIf("closed", "lock", "locked"); - renderIconIf("archived", "lock", "archived"); + renderIconIf("closed", "discourse-comment-slash", "locked"); + renderIconIf("archived", "discourse-comment-slash", "archived"); } this.forEach(args => renderIconIf(...args)); diff --git a/app/assets/javascripts/discourse/raw-views/topic-status.js b/app/assets/javascripts/discourse/raw-views/topic-status.js index d6b2c749995..ba8bf335113 100644 --- a/app/assets/javascripts/discourse/raw-views/topic-status.js +++ b/app/assets/javascripts/discourse/raw-views/topic-status.js @@ -38,11 +38,14 @@ export default EmberObject.extend({ } if (topic.get("closed") && topic.get("archived")) { - results.push({ icon: "lock", key: "locked_and_archived" }); + results.push({ + icon: "discourse-comment-slash", + key: "locked_and_archived" + }); } else if (topic.get("closed")) { - results.push({ icon: "lock", key: "locked" }); + results.push({ icon: "discourse-comment-slash", key: "locked" }); } else if (topic.get("archived")) { - results.push({ icon: "lock", key: "archived" }); + results.push({ icon: "discourse-comment-slash", key: "archived" }); } if (topic.get("pinned")) { diff --git a/app/assets/javascripts/discourse/templates/user.hbs b/app/assets/javascripts/discourse/templates/user.hbs index 9290b1d8327..ceed565516b 100644 --- a/app/assets/javascripts/discourse/templates/user.hbs +++ b/app/assets/javascripts/discourse/templates/user.hbs @@ -233,7 +233,7 @@ {{#if showNotificationsTab}}