mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
The inconsistent style between these three buttons looked bad. We have to take some care with the "Starred messages" and "Edit" ones, to make sure they live-update properly.
6 lines
387 B
Handlebars
6 lines
387 B
Handlebars
{{#if is_editable}}
|
|
<i class="fa fa-pencil edit_content_button" role="button" tabindex="0" aria-label="{{t 'Edit' }} (e)" data-tippy-content="{{#tr}}Edit{{/tr}} (e)"></i>
|
|
{{else}}
|
|
<i class="fa fa-file-code-o edit_content_button" role="button" tabindex="0" aria-label="{{t 'View source' }} (e)" data-tippy-content="{{#tr}}View source{{/tr}} (e)" data-message-id="{{msg_id}}"></i>
|
|
{{/if}}
|