UX: Replace staff notice icon with user-shield.
This commit is contained in:
@@ -40,14 +40,14 @@ export function buildManageButtons(attrs, currentUser, siteSettings) {
|
||||
if (currentUser.staff) {
|
||||
if (attrs.noticeType) {
|
||||
contents.push({
|
||||
icon: "asterisk",
|
||||
icon: "user-shield",
|
||||
label: "post.controls.remove_post_notice",
|
||||
action: "removeNotice",
|
||||
className: "btn-default remove-notice"
|
||||
});
|
||||
} else {
|
||||
contents.push({
|
||||
icon: "asterisk",
|
||||
icon: "user-shield",
|
||||
label: "post.controls.add_post_notice",
|
||||
action: "addNotice",
|
||||
className: "btn-default add-notice"
|
||||
|
||||
@@ -453,7 +453,7 @@ createWidget("post-notice", {
|
||||
: attrs.name;
|
||||
let text, icon;
|
||||
if (attrs.noticeType === "custom") {
|
||||
icon = "asterisk";
|
||||
icon = "user-shield";
|
||||
text = attrs.noticeMessage;
|
||||
} else if (attrs.noticeType === "new_user") {
|
||||
icon = "hands-helping";
|
||||
|
||||
Reference in New Issue
Block a user