FIX: We should always close the modal when clicking the show post button (#14)
This commit is contained in:
parent
339cd31d76
commit
f94c9aaab3
|
@ -35,9 +35,13 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#if n.post_id}}
|
{{#if n.post_id}}
|
||||||
<a class="btn btn-small" href={{n.post_url}}>
|
{{d-button
|
||||||
{{i18n "user_notes.show_post"}}
|
class="btn btn-small"
|
||||||
</a>
|
href=n.post_url
|
||||||
|
action=(route-action "closeModal")
|
||||||
|
title="user_notes.show_post"
|
||||||
|
translatedLabel=(i18n "user_notes.show_post")
|
||||||
|
}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue