mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 00:37:06 +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'>
|
<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'>
|
<ul class='action-list nav-stacked'>
|
||||||
<li class="noGlyph">
|
<li class="noGlyph">
|
||||||
{{#link-to 'userPrivateMessages.index' model}}
|
{{#link-to 'userPrivateMessages.index' model}}
|
||||||
|
@ -32,7 +35,6 @@
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
{{d-button class="btn-primary new-private-message" action="composePrivateMessage" icon="envelope" label="user.new_private_message"}}
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class='user-right messages'>
|
<section class='user-right messages'>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user