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,
|
||||
emojiEnabled: component.siteSettings.enable_emoji,
|
||||
emojiUrl: emojiUrlFor("pencil"),
|
||||
user,
|
||||
userNotesTitle: I18n.t("user_notes.show", { count }),
|
||||
});
|
||||
},
|
||||
|
|
|
@ -35,13 +35,9 @@
|
|||
</div>
|
||||
|
||||
{{#if n.post_id}}
|
||||
{{d-button
|
||||
class="btn btn-small"
|
||||
href=n.post_url
|
||||
action=(route-action "closeModal")
|
||||
title="user_notes.show_post"
|
||||
translatedLabel=(i18n "user_notes.show_post")
|
||||
}}
|
||||
<a href={{n.post_url}} class="btn btn-small">
|
||||
{{i18n "user_notes.show_post"}}
|
||||
</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue