mirror of
https://github.com/zulip/zulip.git
synced 2026-06-21 21:32:29 +08:00
We already have single-key shortcuts for all message controls but Zulip should be usable from the keyboard without having to learn a bunch of Zulip-specific keyboard shortcuts.
6 lines
351 B
Handlebars
6 lines
351 B
Handlebars
{{#if is_editable}}
|
|
<i class="fa fa-pencil edit_content_button" role="button" tabindex="0" aria-label="{{t "Edit" }} (e)" title="{{t "Edit" }} (e)"></i>
|
|
{{else}}
|
|
<i class="fa fa-file-code-o edit_content_button" role="button" tabindex="0" aria-label="{{t "View source" }} (e)" title="{{t "View source" }} (e)" data-message-id="{{msg_id}}"></i>
|
|
{{/if}}
|