UX: move message button to top, hide from non-self

This commit is contained in:
Sam Saffron 2016-01-11 22:41:19 +11:00
parent 7350b6c6e6
commit abd460bb9b

View File

@ -1,4 +1,7 @@
<section class='user-navigation'>
{{#if viewingSelf}}
{{d-button class="btn-primary new-private-message" action="composePrivateMessage" icon="envelope" label="user.new_private_message"}}
{{/if}}
<ul class='action-list nav-stacked'>
<li class="noGlyph">
{{#link-to 'userPrivateMessages.index' model}}
@ -32,7 +35,6 @@
{{/each}}
</ul>
{{d-button class="btn-primary new-private-message" action="composePrivateMessage" icon="envelope" label="user.new_private_message"}}
</section>
<section class='user-right messages'>