mirror of
https://github.com/zulip/zulip.git
synced 2026-07-06 21:18:58 +08:00
Move "Edit this message" higher in the info menu.
For messages that you sent yourself, it is more likely that you will want to edit the message than reply to yourself, collapse your own message, etc. from the info menu, so we make it the first option. This should make it easier for keyboard users to edit messages. (imported from commit 94c5036a4ae85ed091c95eae2545e78887a09598)
This commit is contained in:
parent
d246189d98
commit
3fcbfeaa80
@ -1,5 +1,13 @@
|
||||
{{! Contents of the "message actions" popup }}
|
||||
<ul class="nav nav-list actions_popover pull-right">
|
||||
{{#if can_edit_message}}
|
||||
<li>
|
||||
<a href="#" class="popover_edit_message" data-msgid="{{message.id}}">
|
||||
<i class="icon-vector-pencil"></i> Edit this message
|
||||
</a>
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
<li>
|
||||
<a href="#" class="respond_button">
|
||||
<i class="icon-vector-share-alt"></i>
|
||||
@ -50,14 +58,6 @@
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if can_edit_message}}
|
||||
<li>
|
||||
<a href="#" class="popover_edit_message" data-msgid="{{message.id}}">
|
||||
<i class="icon-vector-pencil"></i> Edit this message
|
||||
</a>
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
<li>
|
||||
<a href="#" class="popover_toggle_collapse" data-msgid="{{message.id}}">
|
||||
<i class="{{#if message.collapsed}}icon-vector-plus{{else}}icon-vector-minus{{/if}}"></i>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user