2013-02-08 23:03:33 +01:00
|
|
|
|
{{! Contents of the "message actions" popup }}
|
2017-09-27 19:27:05 +02:00
|
|
|
|
<ul class="nav nav-list actions_popover">
|
2018-03-28 00:28:57 +02:00
|
|
|
|
{{#if should_display_edit_and_view_source}}
|
2017-04-26 04:50:43 +02:00
|
|
|
|
<li>
|
2018-12-22 19:43:09 +01:00
|
|
|
|
<a href="#" class="popover_edit_message" data-message-id="{{message_id}}">
|
2017-04-26 04:50:43 +02:00
|
|
|
|
{{! Can consider http://fontawesome.io/icon/file-code-o/ when we upgrade to font awesome 4.}}
|
2017-06-08 07:09:53 +02:00
|
|
|
|
<i class="{{#if use_edit_icon}}fa fa-pencil{{else}}fa fa-file-text-o{{/if}}" aria-hidden="true"></i> {{editability_menu_item}}
|
2017-04-26 04:50:43 +02:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
2018-03-28 00:28:57 +02:00
|
|
|
|
{{/if}}
|
2013-11-07 14:50:35 +01:00
|
|
|
|
|
2018-03-28 00:28:57 +02:00
|
|
|
|
{{#if should_display_quote_and_reply}}
|
2017-04-26 04:50:43 +02:00
|
|
|
|
<li>
|
2018-12-22 19:43:09 +01:00
|
|
|
|
<a href="#" class="respond_button" data-message-id="{{message_id}}">
|
2017-06-08 07:09:53 +02:00
|
|
|
|
<i class="fa fa-reply" aria-hidden="true"></i> {{t "Quote and reply" }}
|
2017-04-26 04:50:43 +02:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
2018-03-28 00:28:57 +02:00
|
|
|
|
{{/if}}
|
2013-02-09 08:47:01 +01:00
|
|
|
|
|
2018-01-20 03:52:45 +01:00
|
|
|
|
{{#if should_display_reminder_option}}
|
2018-01-15 03:02:23 +01:00
|
|
|
|
<li>
|
2018-12-22 19:43:09 +01:00
|
|
|
|
<a href="#" class='reminder_button' data-message-id="{{message_id}}">
|
2018-01-15 03:02:23 +01:00
|
|
|
|
<i class="fa fa-bell" aria-hidden="true"></i> {{t "Remind me about this" }}
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
2018-01-20 03:52:45 +01:00
|
|
|
|
{{/if}}
|
2017-12-16 15:23:18 +01:00
|
|
|
|
|
|
|
|
|
{{#if should_display_collapse}}
|
|
|
|
|
<li>
|
2018-12-22 19:43:09 +01:00
|
|
|
|
<a href="#" class="popover_toggle_collapse" data-message-id="{{message_id}}">
|
2017-12-16 15:23:18 +01:00
|
|
|
|
<i class="fa fa-minus" aria-hidden="true"></i>
|
2017-08-25 11:09:51 +02:00
|
|
|
|
{{t "Collapse" }} <span class="hotkey-hint">(–)</span>
|
2017-12-16 15:23:18 +01:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{#if should_display_uncollapse}}
|
2017-04-26 04:50:43 +02:00
|
|
|
|
<li>
|
2018-12-22 19:43:09 +01:00
|
|
|
|
<a href="#" class="popover_toggle_collapse" data-message-id="{{message_id}}">
|
2017-12-16 15:23:18 +01:00
|
|
|
|
<i class="fa fa-plus" aria-hidden="true"></i>
|
2017-08-25 11:09:51 +02:00
|
|
|
|
{{t "Un-collapse" }} <span class="hotkey-hint">(–)</span>
|
2017-04-26 04:50:43 +02:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
2017-12-16 15:23:18 +01:00
|
|
|
|
{{/if}}
|
2013-05-08 23:17:49 +02:00
|
|
|
|
|
2017-04-26 04:50:43 +02:00
|
|
|
|
{{#if should_display_edit_history_option}}
|
|
|
|
|
<li>
|
2019-08-28 17:46:10 +02:00
|
|
|
|
<a href="#" class="view_edit_history" data-message-id="{{message_id}}">
|
2017-06-08 07:09:53 +02:00
|
|
|
|
<i class="fa fa-clock-o" aria-hidden="true"></i>
|
2017-04-26 04:50:43 +02:00
|
|
|
|
{{t "View edit history" }}
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
{{/if}}
|
2017-05-14 21:14:26 +02:00
|
|
|
|
{{#if should_display_delete_option}}
|
|
|
|
|
<li>
|
2018-12-22 19:43:09 +01:00
|
|
|
|
<a href="#" class="delete_message" data-message-id="{{message_id}}">
|
2017-06-08 07:09:53 +02:00
|
|
|
|
<i class="fa fa-times" aria-hidden="true"></i>
|
2017-05-14 21:14:26 +02:00
|
|
|
|
{{t "Delete message" }}
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
{{/if}}
|
2017-04-26 04:50:43 +02:00
|
|
|
|
{{#if can_mute_topic}}
|
|
|
|
|
<li>
|
2018-12-22 19:43:09 +01:00
|
|
|
|
<a href="#" class="popover_mute_topic" data-msg-stream-id="{{stream_id}}" data-msg-topic="{{topic}}">
|
2017-06-08 07:09:53 +02:00
|
|
|
|
<i class="fa fa-eye-slash" aria-hidden="true"></i>
|
2018-12-22 19:43:09 +01:00
|
|
|
|
{{#tr this}}Mute the topic <b>__topic__</b>{{/tr}} <span class="hotkey-hint">(M)</span>
|
2017-04-26 04:50:43 +02:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
{{/if}}
|
2013-09-09 20:24:21 +02:00
|
|
|
|
|
2017-04-26 04:50:43 +02:00
|
|
|
|
{{#if can_unmute_topic}}
|
|
|
|
|
<li>
|
2018-12-22 19:43:09 +01:00
|
|
|
|
<a href="#" class="popover_unmute_topic" data-msg-stream-id="{{stream_id}}" data-msg-topic="{{topic}}">
|
2017-06-08 07:09:53 +02:00
|
|
|
|
<i class="fa fa-eye" aria-hidden="true"></i>
|
2018-12-22 19:43:09 +01:00
|
|
|
|
{{#tr this}}Unmute the topic <b>__topic__</b>{{/tr}}
|
2017-04-26 04:50:43 +02:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
{{/if}}
|
2013-09-09 20:42:10 +02:00
|
|
|
|
|
2017-04-26 04:50:43 +02:00
|
|
|
|
{{#if should_display_add_reaction_option}}
|
|
|
|
|
<li>
|
2018-12-22 19:43:09 +01:00
|
|
|
|
<a href="#" class="reaction_button" data-message-id="{{message_id}}">
|
2017-06-08 07:09:53 +02:00
|
|
|
|
<i class="fa fa-smile-o" aria-hidden="true"></i>
|
2018-12-22 19:43:09 +01:00
|
|
|
|
{{#tr this}}Add emoji reaction{{/tr}}
|
2017-04-26 04:50:43 +02:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
{{/if}}
|
2016-12-02 13:23:23 +01:00
|
|
|
|
|
2017-04-26 04:50:43 +02:00
|
|
|
|
<li>
|
2018-12-22 19:43:09 +01:00
|
|
|
|
<a href="#" class="copy_link" data-message-id="{{message_id}}" data-clipboard-text="{{ conversation_time_uri }}">
|
2017-06-08 07:09:53 +02:00
|
|
|
|
<i class="fa fa-link" aria-hidden="true"></i> {{t "Copy link to conversation" }}
|
2017-04-26 04:50:43 +02:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
2017-01-17 21:06:48 +01:00
|
|
|
|
|
2018-12-22 19:43:09 +01:00
|
|
|
|
{{#if historical}}
|
2017-04-26 04:50:43 +02:00
|
|
|
|
<li class="small">({{t "Message sent when you were not subscribed" }})</li>
|
|
|
|
|
{{/if}}
|
2017-01-17 21:06:48 +01:00
|
|
|
|
</ul>
|