message view: Add hotkey hints.

'>' and 'e' are added as hotkey hints for 'Quote and
reply or forward' and 'View source / Edit topic' options
in actions popover, to help make these hotkeys more discoverable.
This commit is contained in:
Akshat 2021-01-26 03:56:43 +05:30 committed by GitHub
parent 5f8a10124e
commit ffed6e3dc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@
<li> <li>
<a href="#" class="popover_edit_message" data-message-id="{{message_id}}"> <a href="#" class="popover_edit_message" data-message-id="{{message_id}}">
<i class="{{#if use_edit_icon}}fa fa-pencil{{else}}fa fa-file-code-o{{/if}}" aria-hidden="true"></i> {{editability_menu_item}} <i class="{{#if use_edit_icon}}fa fa-pencil{{else}}fa fa-file-code-o{{/if}}" aria-hidden="true"></i> {{editability_menu_item}}
<span class="hotkey-hint">(e)</span>
</a> </a>
</li> </li>
{{/if}} {{/if}}
@ -12,6 +13,7 @@
<li> <li>
<a href="#" class="respond_button" data-message-id="{{message_id}}"> <a href="#" class="respond_button" data-message-id="{{message_id}}">
<i class="fa fa-reply" aria-hidden="true"></i> {{t "Quote and reply or forward" }} <i class="fa fa-reply" aria-hidden="true"></i> {{t "Quote and reply or forward" }}
<span class="hotkey-hint">(>)</span>
</a> </a>
</li> </li>
{{/if}} {{/if}}