2013-02-08 23:03:33 +01:00
|
|
|
{{! Contents of the "message actions" popup }}
|
2013-07-11 23:06:58 +02:00
|
|
|
<ul class="nav nav-list actions_popover pull-right">
|
2013-02-09 03:29:40 +01:00
|
|
|
<li>
|
2013-07-11 23:06:58 +02:00
|
|
|
<a href="#" class="respond_button">
|
2013-08-02 20:24:10 +02:00
|
|
|
<i class="icon-vector-share-alt"></i>
|
2013-03-19 19:35:11 +01:00
|
|
|
{{#if message.is_stream}}
|
2013-07-16 21:00:52 +02:00
|
|
|
Reply to this topic on stream <b>{{message.stream}}</b>
|
2013-03-19 19:35:11 +01:00
|
|
|
{{else}}
|
|
|
|
Reply to this private message
|
|
|
|
{{/if}}
|
2013-02-09 03:29:40 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2013-03-19 19:35:11 +01:00
|
|
|
{{#unless message.is_private}}
|
|
|
|
<li>
|
2013-07-11 23:06:58 +02:00
|
|
|
<a href="#" class="respond_personal_button">
|
2013-08-02 20:24:10 +02:00
|
|
|
<i class="icon-vector-user"></i> Reply to <b>{{message.sender_full_name}}</b> only
|
2013-03-19 19:35:11 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/unless}}
|
2013-02-09 08:47:01 +01:00
|
|
|
|
|
|
|
{{#if message.is_stream}}
|
|
|
|
<li>
|
2013-07-11 23:06:58 +02:00
|
|
|
<a href="#" class="popover_narrow_by_subject_button" data-msgid="{{message.id}}">
|
2013-08-02 20:24:10 +02:00
|
|
|
<i class="icon-vector-bullhorn"></i>
|
2013-07-16 21:00:52 +02:00
|
|
|
Narrow to this topic on stream <b>{{message.stream}}</b>
|
2013-02-09 08:47:01 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{else}}
|
|
|
|
<li>
|
2013-07-11 23:06:58 +02:00
|
|
|
<a href="#" class="popover_narrow_by_recipient_button" data-msgid="{{message.id}}">
|
2013-08-02 20:24:10 +02:00
|
|
|
<i class="icon-vector-user"></i>
|
2013-02-09 08:47:01 +01:00
|
|
|
Narrow to this private message conversation
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
|
2013-03-19 19:35:11 +01:00
|
|
|
{{#if narrowed}}
|
2012-10-18 20:23:57 +02:00
|
|
|
<li>
|
2013-07-11 23:06:58 +02:00
|
|
|
<a href="#" class="popover_narrow_by_time_travel_button" data-msgid="{{message.id}}">
|
2013-08-02 20:24:10 +02:00
|
|
|
<i class="icon-vector-time"></i> Narrow to messages around this time
|
2012-10-18 20:23:57 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
2013-03-19 19:35:11 +01:00
|
|
|
{{/if}}
|
|
|
|
|
2013-10-10 22:05:20 +02:00
|
|
|
{{#if single_message_narrowing}}
|
|
|
|
<li>
|
|
|
|
<a href="#" class="popover_narrow_by_id" data-msgid="{{message.id}}">
|
|
|
|
<i class="icon-vector-link"></i> Narrow to just this message
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
|
2013-05-15 00:22:16 +02:00
|
|
|
{{#if can_edit_message}}
|
|
|
|
<li>
|
2013-07-11 23:06:58 +02:00
|
|
|
<a href="#" class="popover_edit_message" data-msgid="{{message.id}}">
|
2013-08-02 20:24:10 +02:00
|
|
|
<i class="icon-vector-pencil"></i> Edit this message
|
2013-05-15 00:22:16 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
|
2013-05-08 23:17:49 +02:00
|
|
|
<li>
|
2013-07-11 23:06:58 +02:00
|
|
|
<a href="#" class="popover_toggle_collapse" data-msgid="{{message.id}}">
|
2013-08-02 20:24:10 +02:00
|
|
|
<i class="{{#if message.collapsed}}icon-vector-plus{{else}}icon-vector-minus{{/if}}"></i>
|
2013-05-08 23:17:49 +02:00
|
|
|
{{#if message.collapsed}}Un-collapse{{else}}Collapse{{/if}} this message
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
|
2013-09-09 20:24:21 +02:00
|
|
|
{{#if can_mute_topic}}
|
|
|
|
<li>
|
|
|
|
<a href="#" class="popover_mute_topic" data-msg-stream="{{message.stream}}" data-msg-topic="{{message.subject}}">
|
|
|
|
<i class="icon-vector-eye-close"></i>
|
|
|
|
Mute the topic <b>{{message.subject}}</b>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
|
2013-09-09 20:42:10 +02:00
|
|
|
{{#if can_unmute_topic}}
|
|
|
|
<li>
|
|
|
|
<a href="#" class="popover_unmute_topic" data-msg-stream="{{message.stream}}" data-msg-topic="{{message.subject}}">
|
|
|
|
<i class="icon-vector-eye-open"></i>
|
|
|
|
Unmute the topic <b>{{message.subject}}</b>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
|
2012-10-18 20:23:57 +02:00
|
|
|
</ul>
|