zulip/static/templates/edit_content_button.hbs

6 lines
403 B
Handlebars
Raw Normal View History

{{#if is_editable}}
<i class="fa fa-pencil edit_content_button" role="button" tabindex="0" aria-label="{{t 'Edit message' }} (e)" data-tippy-content="{{#tr}}Edit message{{/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}}