UX: "Show post" should be a link so admins can open the post in a new tab. (#27)
This commit is contained in:
parent
e0c9f67e90
commit
a50c72e769
|
@ -18,7 +18,6 @@ export default {
|
||||||
userNotesCount: count,
|
userNotesCount: count,
|
||||||
emojiEnabled: component.siteSettings.enable_emoji,
|
emojiEnabled: component.siteSettings.enable_emoji,
|
||||||
emojiUrl: emojiUrlFor("pencil"),
|
emojiUrl: emojiUrlFor("pencil"),
|
||||||
user,
|
|
||||||
userNotesTitle: I18n.t("user_notes.show", { count }),
|
userNotesTitle: I18n.t("user_notes.show", { count }),
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
@ -35,13 +35,9 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#if n.post_id}}
|
{{#if n.post_id}}
|
||||||
{{d-button
|
<a href={{n.post_url}} class="btn btn-small">
|
||||||
class="btn btn-small"
|
{{i18n "user_notes.show_post"}}
|
||||||
href=n.post_url
|
</a>
|
||||||
action=(route-action "closeModal")
|
|
||||||
title="user_notes.show_post"
|
|
||||||
translatedLabel=(i18n "user_notes.show_post")
|
|
||||||
}}
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue