mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 22:26:26 +08:00
UX: move message button to top, hide from non-self
This commit is contained in:
parent
7350b6c6e6
commit
abd460bb9b
|
@ -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'>
|
||||
|
|
Loading…
Reference in New Issue
Block a user