2013-02-08 23:03:33 +01:00
|
|
|
{{! Contents of the "message actions" popup }}
|
2017-01-17 21:06:48 +01:00
|
|
|
<ul class="nav nav-list actions_popover pull-right">
|
2017-04-26 04:50:43 +02:00
|
|
|
<li>
|
|
|
|
<a href="#" class="popover_edit_message" data-message-id="{{message.id}}">
|
|
|
|
{{! 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>
|
2013-11-07 14:50:35 +01:00
|
|
|
|
2017-04-26 04:50:43 +02:00
|
|
|
<li>
|
|
|
|
<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>
|
2013-02-09 08:47:01 +01:00
|
|
|
|
2017-04-26 04:50:43 +02:00
|
|
|
<li>
|
|
|
|
<a href="#" class="popover_toggle_collapse" data-message-id="{{message.id}}">
|
2017-06-08 07:09:53 +02:00
|
|
|
<i class="{{#if message.collapsed}}fa fa-plus{{else}}fa fa-minus{{/if}}" aria-hidden="true"></i>
|
2017-08-16 19:25:53 +02:00
|
|
|
{{#if message.collapsed}}{{t "Un-collapse" }}{{else}}{{t "Collapse" }}{{/if}} (-)
|
2017-04-26 04:50:43 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
2013-05-08 23:17:49 +02:00
|
|
|
|
2017-04-26 04:50:43 +02:00
|
|
|
{{#if should_display_edit_history_option}}
|
|
|
|
<li>
|
|
|
|
<a href="#" class="view_edit_history" data-msgid="{{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>
|
|
|
|
<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>
|
|
|
|
<a href="#" class="popover_mute_topic" data-msg-stream="{{message.stream}}" data-msg-topic="{{message.subject}}">
|
2017-06-08 07:09:53 +02:00
|
|
|
<i class="fa fa-eye-slash" aria-hidden="true"></i>
|
2017-08-16 19:25:53 +02:00
|
|
|
{{#tr message}}Mute the topic <b>__subject__</b>{{/tr}} (M)
|
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>
|
|
|
|
<a href="#" class="popover_unmute_topic" data-msg-stream="{{message.stream}}" data-msg-topic="{{message.subject}}">
|
2017-06-08 07:09:53 +02:00
|
|
|
<i class="fa fa-eye" aria-hidden="true"></i>
|
2017-04-26 04:50:43 +02:00
|
|
|
{{#tr message}}Unmute the topic <b>__subject__</b>{{/tr}}
|
|
|
|
</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>
|
|
|
|
<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>
|
2017-04-26 04:50:43 +02:00
|
|
|
{{#tr message}}Add emoji reaction{{/tr}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2016-12-02 13:23:23 +01:00
|
|
|
|
2017-04-26 04:50:43 +02:00
|
|
|
<li>
|
2017-05-08 22:46:25 +02: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
|
|
|
|
2017-04-26 04:50:43 +02:00
|
|
|
{{#if message.historical}}
|
|
|
|
<li class="small">({{t "Message sent when you were not subscribed" }})</li>
|
|
|
|
{{/if}}
|
2017-01-17 21:06:48 +01:00
|
|
|
</ul>
|