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">
|
|
|
|
<li>
|
2017-02-02 21:22:24 +01:00
|
|
|
<a href="#" class="popover_edit_message" data-message-id="{{message.id}}">
|
2017-01-17 21:06:48 +01:00
|
|
|
{{! Can consider http://fontawesome.io/icon/file-code-o/ when we upgrade to font awesome 4.}}
|
|
|
|
<i class="{{#if use_edit_icon}}icon-vector-pencil{{else}}icon-vector-file-text-alt{{/if}}"></i> {{editability_menu_item}}
|
|
|
|
</a>
|
|
|
|
</li>
|
2013-11-07 14:50:35 +01:00
|
|
|
|
2017-01-17 21:06:48 +01:00
|
|
|
<li>
|
2017-02-02 13:08:17 +01:00
|
|
|
<a href="#" class="respond_button" data-message-id="{{message.id}}">
|
|
|
|
<i class="icon-vector-share-alt"></i> {{t "Quote and reply" }}
|
2017-01-17 21:06:48 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2013-02-09 08:47:01 +01:00
|
|
|
|
2017-01-17 21:06:48 +01:00
|
|
|
<li>
|
2017-02-02 21:22:24 +01:00
|
|
|
<a href="#" class="popover_toggle_collapse" data-message-id="{{message.id}}">
|
2017-01-17 21:06:48 +01:00
|
|
|
<i class="{{#if message.collapsed}}icon-vector-plus{{else}}icon-vector-minus{{/if}}"></i>
|
|
|
|
{{#if message.collapsed}}{{t "Un-collapse" }}{{else}}{{t "Collapse" }}{{/if}}
|
|
|
|
</a>
|
|
|
|
</li>
|
2013-05-08 23:17:49 +02:00
|
|
|
|
2017-02-20 02:37:58 +01:00
|
|
|
{{#if should_display_edit_history_option}}
|
|
|
|
<li>
|
|
|
|
<a href="#" class="view_edit_history" data-msgid="{{message.id}}">
|
|
|
|
<i class="icon-vector-time"></i>
|
|
|
|
{{t "View edit history" }}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
|
2013-09-09 20:24:21 +02:00
|
|
|
{{#if can_mute_topic}}
|
2017-01-17 21:06:48 +01:00
|
|
|
<li>
|
|
|
|
<a href="#" class="popover_mute_topic" data-msg-stream="{{message.stream}}" data-msg-topic="{{message.subject}}">
|
|
|
|
<i class="icon-vector-eye-close"></i>
|
|
|
|
{{#tr message}}Mute the topic <b>__subject__</b>{{/tr}}
|
|
|
|
</a>
|
|
|
|
</li>
|
2013-09-09 20:24:21 +02:00
|
|
|
{{/if}}
|
|
|
|
|
2013-09-09 20:42:10 +02:00
|
|
|
{{#if can_unmute_topic}}
|
2017-01-17 21:06:48 +01:00
|
|
|
<li>
|
|
|
|
<a href="#" class="popover_unmute_topic" data-msg-stream="{{message.stream}}" data-msg-topic="{{message.subject}}">
|
|
|
|
<i class="icon-vector-eye-open"></i>
|
|
|
|
{{#tr message}}Unmute the topic <b>__subject__</b>{{/tr}}
|
|
|
|
</a>
|
|
|
|
</li>
|
2013-09-09 20:42:10 +02:00
|
|
|
{{/if}}
|
|
|
|
|
2016-12-02 13:23:23 +01:00
|
|
|
{{#if should_display_add_reaction_option}}
|
2017-01-17 21:06:48 +01:00
|
|
|
<li>
|
2017-02-02 21:22:24 +01:00
|
|
|
<a href="#" class="reaction_button" data-message-id="{{message.id}}">
|
2017-01-17 21:06:48 +01:00
|
|
|
<i class="icon-vector-smile"></i>
|
|
|
|
{{#tr message}}Add emoji reaction{{/tr}}
|
|
|
|
</a>
|
|
|
|
</li>
|
2016-12-02 13:23:23 +01:00
|
|
|
{{/if}}
|
|
|
|
|
2017-01-17 21:06:48 +01:00
|
|
|
<li>
|
2017-02-02 21:22:24 +01:00
|
|
|
<a href="{{ conversation_time_uri }}" class="popover_narrow_by_conversation_and_time" data-message-id="{{message.id}}">
|
2017-01-17 21:06:48 +01:00
|
|
|
<i class="icon-vector-link"></i> {{t "Link to this conversation" }}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
|
2017-04-15 02:17:17 +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>
|