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-03-19 19:35:11 +01:00
|
|
|
<i class="icon-share-alt"></i>
|
|
|
|
{{#if message.is_stream}}
|
2013-04-18 17:13:43 +02:00
|
|
|
Reply to this subject 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-03-19 19:35:11 +01:00
|
|
|
<i class="icon-user"></i> Reply to <b>{{message.sender_full_name}}</b> only
|
|
|
|
</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-02-09 08:47:01 +01:00
|
|
|
<i class="icon-bullhorn"></i>
|
2013-04-18 17:13:43 +02:00
|
|
|
Narrow to this subject 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-02-09 08:47:01 +01:00
|
|
|
<i class="icon-user"></i>
|
|
|
|
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-03-19 19:35:11 +01:00
|
|
|
<i class="icon-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-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-05-15 00:22:16 +02:00
|
|
|
<i class="icon-pencil"></i> Edit this message
|
|
|
|
</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-05-08 23:17:49 +02:00
|
|
|
<i class="{{#if message.collapsed}}icon-plus{{else}}icon-minus{{/if}}"></i>
|
|
|
|
{{#if message.collapsed}}Un-collapse{{else}}Collapse{{/if}} this message
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
|
2012-10-18 20:23:57 +02:00
|
|
|
</ul>
|