2013-02-08 23:03:33 +01:00
|
|
|
{{! Contents of the "message actions" popup }}
|
2024-02-28 08:37:49 +01:00
|
|
|
<div class="popover-menu" id="message-actions-menu-dropdown" data-simplebar>
|
|
|
|
<ul class="popover-menu-outer-list">
|
|
|
|
{{#if should_display_quote_and_reply}}
|
|
|
|
<li class="popover-menu-outer-list-item">
|
|
|
|
<ul class="popover-menu-inner-list">
|
|
|
|
<li class="link-item popover-menu-inner-list-item">
|
|
|
|
<a data-message-id="{{message_id}}" class="respond_button popover-menu-link" tabindex="0">
|
2024-03-04 02:12:34 +01:00
|
|
|
<i class="popover-menu-icon zulip-icon zulip-icon-quote-and-reply" aria-hidden="true"></i>
|
2024-03-27 22:02:37 +01:00
|
|
|
<span class="popover-menu-label">{{t "Quote and reply" }}</span>
|
2024-02-28 12:27:51 +01:00
|
|
|
{{popover_hotkey_hints ">"}}
|
2024-02-28 08:37:49 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2021-08-05 00:59:03 +02:00
|
|
|
</li>
|
2024-02-28 08:37:49 +01:00
|
|
|
{{/if}}
|
|
|
|
{{#if (or editability_menu_item move_message_menu_item should_display_delete_option)}}
|
|
|
|
<li class="popover-menu-outer-list-item">
|
|
|
|
<ul class="popover-menu-inner-list">
|
|
|
|
{{#if editability_menu_item}}
|
|
|
|
<li class="link-item popover-menu-inner-list-item">
|
|
|
|
<a data-message-id="{{message_id}}" class="popover_edit_message popover-menu-link" tabindex="0">
|
|
|
|
<i class="popover-menu-icon zulip-icon zulip-icon-edit" aria-hidden="true"></i>
|
2024-03-27 22:02:37 +01:00
|
|
|
<span class="popover-menu-label">{{editability_menu_item}}</span>
|
2024-02-28 12:27:51 +01:00
|
|
|
{{popover_hotkey_hints "E"}}
|
2024-02-28 08:37:49 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if move_message_menu_item}}
|
|
|
|
<li class="link-item popover-menu-inner-list-item">
|
|
|
|
<a data-message-id="{{message_id}}" class="popover_move_message popover-menu-link" tabindex="0">
|
|
|
|
<i class="popover-menu-icon zulip-icon zulip-icon-move-alt" aria-hidden="true"></i>
|
2024-03-27 22:02:37 +01:00
|
|
|
<span class="popover-menu-label">{{move_message_menu_item}}</span>
|
2024-02-28 12:27:51 +01:00
|
|
|
{{popover_hotkey_hints "M"}}
|
2024-02-28 08:37:49 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if should_display_delete_option}}
|
|
|
|
<li class="link-item popover-menu-inner-list-item">
|
|
|
|
<a data-message-id="{{message_id}}" class="delete_message popover-menu-link" tabindex="0">
|
2024-03-04 02:12:34 +01:00
|
|
|
<i class="popover-menu-icon zulip-icon zulip-icon-trash" aria-hidden="true"></i>
|
2024-03-27 22:02:37 +01:00
|
|
|
<span class="popover-menu-label">{{t "Delete message" }}</span>
|
2024-02-28 08:37:49 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if should_display_add_reaction_option}}
|
|
|
|
<li class="popover-menu-outer-list-item">
|
|
|
|
<ul class="popover-menu-inner-list">
|
|
|
|
<li class="link-item popover-menu-inner-list-item">
|
|
|
|
<a data-message-id="{{message_id}}" class="reaction_button popover-menu-link" tabindex="0">
|
|
|
|
<i class="popover-menu-icon zulip-icon zulip-icon-smile" aria-hidden="true"></i>
|
2024-03-27 22:02:37 +01:00
|
|
|
<span class="popover-menu-label">{{t "Add emoji reaction" }}</span>
|
2024-02-28 12:27:51 +01:00
|
|
|
{{popover_hotkey_hints ":"}}
|
2024-02-28 08:37:49 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if (or should_display_mark_as_unread should_display_reminder_option should_display_hide_option should_display_collapse should_display_uncollapse)}}
|
|
|
|
<li class="popover-menu-outer-list-item">
|
|
|
|
<ul class="popover-menu-inner-list">
|
|
|
|
{{#if should_display_mark_as_unread}}
|
|
|
|
<li class="link-item popover-menu-inner-list-item">
|
|
|
|
<a data-message-id="{{message_id}}" class="mark_as_unread popover-menu-link" tabindex="0">
|
2024-03-04 02:12:34 +01:00
|
|
|
<i class="popover-menu-icon zulip-icon zulip-icon-mark-as-unread" aria-hidden="true"></i>
|
2024-03-27 22:02:37 +01:00
|
|
|
<span class="popover-menu-label">{{t "Mark as unread from here" }}</span>
|
2024-02-28 12:27:51 +01:00
|
|
|
{{popover_hotkey_hints "Shift" "U"}}
|
2024-02-28 08:37:49 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if should_display_hide_option}}
|
|
|
|
<li class="link-item popover-menu-inner-list-item">
|
|
|
|
<a data-message-id="{{message_id}}" class="rehide_muted_user_message popover-menu-link" tabindex="0">
|
2024-03-04 02:12:34 +01:00
|
|
|
<i class="popover-menu-icon zulip-icon zulip-icon-hide" aria-hidden="true"></i>
|
2024-03-27 22:02:37 +01:00
|
|
|
<span class="popover-menu-label">{{t "Hide muted message again" }}</span>
|
2024-02-28 08:37:49 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if should_display_collapse}}
|
|
|
|
<li class="link-item popover-menu-inner-list-item">
|
|
|
|
<a data-message-id="{{message_id}}" class="popover_toggle_collapse popover-menu-link" tabindex="0">
|
2024-03-04 02:12:34 +01:00
|
|
|
<i class="popover-menu-icon zulip-icon zulip-icon-collapse" aria-hidden="true"></i>
|
2024-03-27 22:02:37 +01:00
|
|
|
<span class="popover-menu-label">{{t "Collapse message" }}</span>
|
2024-02-28 12:27:51 +01:00
|
|
|
{{popover_hotkey_hints "-"}}
|
2024-02-28 08:37:49 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if should_display_uncollapse}}
|
|
|
|
<li class="link-item popover-menu-inner-list-item">
|
|
|
|
<a data-message-id="{{message_id}}" class="popover_toggle_collapse popover-menu-link" tabindex="0">
|
2024-03-04 02:12:34 +01:00
|
|
|
<i class="popover-menu-icon zulip-icon zulip-icon-expand" aria-hidden="true"></i>
|
2024-03-27 22:02:37 +01:00
|
|
|
<span class="popover-menu-label">{{t "Expand message" }}</span>
|
2024-02-28 12:27:51 +01:00
|
|
|
{{popover_hotkey_hints "-"}}
|
2024-02-28 08:37:49 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
<li class="popover-menu-outer-list-item">
|
|
|
|
<ul class="popover-menu-inner-list">
|
|
|
|
{{#if view_source_menu_item}}
|
|
|
|
<li class="link-item popover-menu-inner-list-item">
|
|
|
|
<a data-message-id="{{message_id}}" class="popover_view_source popover-menu-link" tabindex="0">
|
2024-03-04 02:12:34 +01:00
|
|
|
<i class="popover-menu-icon zulip-icon zulip-icon-source" aria-hidden="true"></i>
|
2024-03-27 22:02:37 +01:00
|
|
|
<span class="popover-menu-label">{{view_source_menu_item}}</span>
|
2024-02-28 12:27:51 +01:00
|
|
|
{{popover_hotkey_hints "E"}}
|
2024-02-28 08:37:49 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if should_display_read_receipts_option}}
|
|
|
|
<li class="link-item popover-menu-inner-list-item">
|
|
|
|
<a data-message-id="{{message_id}}" class="view_read_receipts popover-menu-link" tabindex="0">
|
|
|
|
<i class="popover-menu-icon zulip-icon zulip-icon-readreceipts" aria-hidden="true"></i>
|
2024-03-27 22:02:37 +01:00
|
|
|
<span class="popover-menu-label">{{t "View read receipts" }}</span>
|
2024-02-28 12:27:51 +01:00
|
|
|
{{popover_hotkey_hints "Shift" "V"}}
|
2024-02-28 08:37:49 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
<li class="link-item popover-menu-inner-list-item">
|
|
|
|
<a class="copy_link navigate-link-on-enter popover-menu-link" data-message-id="{{message_id}}" data-clipboard-text="{{ conversation_time_url }}" tabindex="0">
|
2024-03-04 02:12:34 +01:00
|
|
|
<i class="popover-menu-icon zulip-icon zulip-icon-link-alt" aria-hidden="true"></i>
|
2024-03-27 22:02:37 +01:00
|
|
|
<span class="popover-menu-label">{{t "Copy link to message" }}</span>
|
2024-02-28 08:37:49 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|