mirror of https://github.com/zulip/zulip.git
62 lines
1.7 KiB
HTML
62 lines
1.7 KiB
HTML
{{! Contents of the "message actions" popup }}
|
|
<ul class="nav nav-list actions_popover">
|
|
<div class="popover_info">
|
|
<li>Sent by <b>{{message.sender_full_name}}</b></li>
|
|
<li class='my_email'>{{message.sender_email}}</li>
|
|
<hr />
|
|
|
|
<li>{{message.full_date_str}}</li>
|
|
<li>{{message.full_time_str}}</li>
|
|
<hr />
|
|
</div>
|
|
|
|
<li>
|
|
<a onclick="respond_to_message();">
|
|
<i class="icon-share-alt"></i>
|
|
{{#if message.is_stream}}
|
|
Reply to this subject on stream <b>{{message.display_recipient}}</b>
|
|
{{else}}
|
|
Reply to this private message
|
|
{{/if}}
|
|
</a>
|
|
</li>
|
|
{{#unless message.is_private}}
|
|
<li>
|
|
<a onclick="respond_to_message('personal');">
|
|
<i class="icon-user"></i> Reply to <b>{{message.sender_full_name}}</b> only
|
|
</a>
|
|
</li>
|
|
{{/unless}}
|
|
|
|
{{#if message.is_stream}}
|
|
<li>
|
|
<a onclick="ui.hide_actions_popover(); narrow.by_subject({{message.id}});">
|
|
<i class="icon-bullhorn"></i>
|
|
Narrow to this subject on stream <b>{{message.display_recipient}}</b>
|
|
</a>
|
|
</li>
|
|
{{else}}
|
|
<li>
|
|
<a onclick="ui.hide_actions_popover(); narrow.by_recipient({{message.id}});">
|
|
<i class="icon-user"></i>
|
|
Narrow to this private message conversation
|
|
</a>
|
|
</li>
|
|
{{/if}}
|
|
<li>
|
|
<a onclick="ui.hide_actions_popover(); narrow.by('sender', '{{message.sender_email}}', {then_select_id: {{message.id}} });">
|
|
<i class="icon-user"></i>
|
|
Narrow to messages sent by <b>{{message.sender_full_name}}</b>
|
|
</a>
|
|
</li>
|
|
|
|
{{#if narrowed}}
|
|
<li>
|
|
<a onclick="ui.hide_actions_popover(); narrow.by_time_travel({{message.id}});">
|
|
<i class="icon-time"></i> Narrow to messages around this time
|
|
</a>
|
|
</li>
|
|
{{/if}}
|
|
|
|
</ul>
|