2019-02-23 15:58:06 +01:00
|
|
|
<div class="message_controls{{#status_message}} sender-status-controls{{/status_message}} no-select">
|
|
|
|
{{#if msg/sent_by_me}}
|
2022-09-11 21:20:29 +02:00
|
|
|
<div class="edit_content message_control_button" data-tooltip-template-id="view-source-tooltip-template"></div>
|
|
|
|
<template id="edit-content-tooltip-template">
|
2023-03-15 23:51:27 +01:00
|
|
|
{{t "Edit message" }}
|
2023-02-08 21:40:48 +01:00
|
|
|
{{tooltip_hotkey_hints "E"}}
|
2022-09-11 21:20:29 +02:00
|
|
|
</template>
|
|
|
|
<template id="move-message-tooltip-template">
|
2023-03-15 23:51:27 +01:00
|
|
|
{{t "Move message" }}
|
2023-02-08 21:40:48 +01:00
|
|
|
{{tooltip_hotkey_hints "M"}}
|
2022-09-11 21:20:29 +02:00
|
|
|
</template>
|
|
|
|
<template id="view-source-tooltip-template">
|
2023-03-15 23:51:27 +01:00
|
|
|
{{t "View message source" }}
|
2023-02-08 21:40:48 +01:00
|
|
|
{{tooltip_hotkey_hints "E"}}
|
2022-09-11 21:20:29 +02:00
|
|
|
</template>
|
2019-02-23 15:58:06 +01:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#unless msg/sent_by_me}}
|
2022-09-11 21:20:29 +02:00
|
|
|
<div class="reaction_button message_control_button" data-tooltip-template-id="add-emoji-tooltip-template">
|
2023-03-15 23:51:27 +01:00
|
|
|
<i class="fa fa-smile-o" aria-label="{{t 'Add emoji reaction' }} (:)" role="button" aria-haspopup="true" tabindex="0"></i>
|
2019-02-23 15:58:06 +01:00
|
|
|
</div>
|
2022-09-11 21:20:29 +02:00
|
|
|
<template id="add-emoji-tooltip-template">
|
2023-03-15 23:51:27 +01:00
|
|
|
{{t "Add emoji reaction" }}
|
2023-02-08 21:40:48 +01:00
|
|
|
{{tooltip_hotkey_hints ":"}}
|
2022-09-11 21:20:29 +02:00
|
|
|
</template>
|
2019-02-23 15:58:06 +01:00
|
|
|
{{/unless}}
|
|
|
|
|
|
|
|
{{#unless msg/locally_echoed}}
|
2022-09-11 21:20:29 +02:00
|
|
|
<div class="actions_hover message_control_button" data-tooltip-template-id="message-actions-tooltip-template" >
|
2023-03-15 23:51:27 +01:00
|
|
|
<i class="zulip-icon zulip-icon-ellipsis-v-solid" role="button" aria-haspopup="true" tabindex="0" aria-label="{{t 'Message actions' }}"></i>
|
2019-02-23 15:58:06 +01:00
|
|
|
</div>
|
2022-09-11 21:20:29 +02:00
|
|
|
<template id="message-actions-tooltip-template">
|
2023-03-15 23:51:27 +01:00
|
|
|
{{t "Message actions" }}
|
2023-02-08 21:40:48 +01:00
|
|
|
{{tooltip_hotkey_hints "I"}}
|
2022-09-11 21:20:29 +02:00
|
|
|
</template>
|
2019-02-23 15:58:06 +01:00
|
|
|
{{/unless}}
|
|
|
|
|
2023-01-19 08:34:22 +01:00
|
|
|
<div class="message_failed {{#unless msg.failed_request}}hide{{/unless}}">
|
2021-07-17 15:00:38 +02:00
|
|
|
<div class="message_control_button failed_message_action" data-tippy-content="{{t 'Retry' }}">
|
|
|
|
<i class="fa fa-refresh refresh-failed-message" aria-label="{{t 'Retry' }}" role="button" tabindex="0"></i>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="message_control_button failed_message_action" data-tippy-content="{{t 'Cancel' }}">
|
|
|
|
<i class="fa fa-times-circle remove-failed-message" aria-label="{{t 'Cancel' }}" role="button" tabindex="0"></i>
|
|
|
|
</div>
|
2019-02-23 15:58:06 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{{#unless msg/locally_echoed}}
|
2022-09-11 21:20:29 +02:00
|
|
|
<div class="star_container message_control_button {{#if msg/starred}}{{else}}empty-star{{/if}}" data-tooltip-template-id="{{#if msg/starred}}unstar{{else}}star{{/if}}-message-tooltip-template">
|
2021-05-13 19:16:36 +02:00
|
|
|
<i role="button" tabindex="0" class="star fa {{#if msg/starred}}fa-star{{else}}fa-star-o{{/if}}"></i>
|
2019-02-23 15:58:06 +01:00
|
|
|
</div>
|
2022-09-11 21:20:29 +02:00
|
|
|
<template id="star-message-tooltip-template">
|
2023-03-15 23:51:27 +01:00
|
|
|
<span class="starred-status">{{t "Star this message" }}</span>
|
2023-02-08 21:40:48 +01:00
|
|
|
{{tooltip_hotkey_hints "Ctrl" "S"}}
|
2022-09-11 21:20:29 +02:00
|
|
|
</template>
|
|
|
|
<template id="unstar-message-tooltip-template">
|
2023-03-15 23:51:27 +01:00
|
|
|
<span class="starred-status">{{t "Unstar this message" }}</span>
|
2023-02-08 21:40:48 +01:00
|
|
|
{{tooltip_hotkey_hints "Ctrl" "S"}}
|
2022-09-11 21:20:29 +02:00
|
|
|
</template>
|
2019-02-23 15:58:06 +01:00
|
|
|
{{/unless}}
|
|
|
|
|
|
|
|
</div>
|