UX: update emoji, better icon match (#122)
This commit is contained in:
parent
82bf4e797c
commit
5d248b8843
|
@ -8,11 +8,11 @@
|
|||
<img
|
||||
src={{this.emojiUrl}}
|
||||
title={{this.userNotesTitle}}
|
||||
alt="pencil"
|
||||
alt=""
|
||||
class="emoji"
|
||||
/>
|
||||
{{else}}
|
||||
{{d-icon "note-sticky"}}
|
||||
{{d-icon "pen-to-square"}}
|
||||
{{/if}}
|
||||
</DButton>
|
||||
{{/if}}
|
|
@ -15,7 +15,7 @@ export default {
|
|||
component.setProperties({
|
||||
userNotesCount,
|
||||
emojiEnabled: component.siteSettings.enable_emoji,
|
||||
emojiUrl: emojiUrlFor("pencil"),
|
||||
emojiUrl: emojiUrlFor("memo"),
|
||||
userNotesTitle: i18n("user_notes.show", { count: userNotesCount }),
|
||||
});
|
||||
},
|
||||
|
|
|
@ -43,9 +43,9 @@ export default class extends Component {
|
|||
class="btn-flat"
|
||||
>
|
||||
{{#if this.siteSettings.enable_emoji}}
|
||||
{{emoji "pencil"}}
|
||||
{{emoji "memo"}}
|
||||
{{else}}
|
||||
{{icon "note-sticky"}}
|
||||
{{icon "pen-to-square"}}
|
||||
{{/if}}
|
||||
</DButton>
|
||||
{{/if}}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<DButton
|
||||
class="btn-default show-user-notes-btn"
|
||||
@action={{@show}}
|
||||
@icon="pencil"
|
||||
@icon="pen-to-square"
|
||||
@translatedLabel={{this.label}}
|
||||
/>
|
|
@ -70,7 +70,7 @@ export default {
|
|||
});
|
||||
api.addPostAdminMenuButton((attrs) => {
|
||||
return {
|
||||
icon: "pencil",
|
||||
icon: "pen-to-square",
|
||||
label: "user_notes.attach",
|
||||
action: (post) => {
|
||||
showUserNotes(
|
||||
|
@ -103,9 +103,9 @@ export default {
|
|||
|
||||
html() {
|
||||
if (this.siteSettings.enable_emoji) {
|
||||
return this.attach("emoji", { name: "pencil" });
|
||||
return this.attach("emoji", { name: "memo" });
|
||||
} else {
|
||||
return iconNode("note-sticky");
|
||||
return iconNode("pen-to-square");
|
||||
}
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue