2014-03-03 21:59:29 +01:00
{{ # if is_stream }}
2017-04-15 04:34:44 +02:00
<div class="message_header message_header_stream right_part">
2014-03-03 21:59:29 +01:00
<div class="message-header-wrapper">
2017-04-15 04:34:44 +02:00
<div class="message-header-contents">
{{! stream link }}
<a class="message_label_clickable narrows_by_recipient stream_label {{ color_class }} "
2021-11-24 14:04:52 +01:00
style="background: {{ background_color }} ; border-left-color: {{ background_color }} ;"
href=" {{ stream_url }} "
title=" {{ # tr }} Narrow to stream " { display_recipient}" {{ / tr }} ">
2021-12-04 13:23:58 +01:00
{{ ~ ! Icons for in vite-only / web-public streams ~ }}
{{ ~ # if in vite_only ~ }}
2021-11-24 14:04:52 +01:00
<i class="fa fa-lock recipient-row-stream-icon" title=" {{ t 'This is a private stream' }} " aria-label=" {{ t 'This is a private stream' }} "></i>
2017-04-15 04:34:44 +02:00
{{ / if }}
2021-12-04 13:23:58 +01:00
{{ ~ # if is_web_public ~ }}
2022-03-01 11:25:40 +01:00
<i class="zulip-icon zulip-icon-globe recipient-row-stream-icon" title=" {{ t 'This is a web-public stream' }} " aria-label=" {{ t 'This is a web-public stream' }} "></i>
2021-11-20 04:19:39 +01:00
{{ / if }}
2021-12-04 13:23:58 +01:00
{{ ~ ! Recipient ( e .g . stream / topic or topic ) ~ }}
2022-01-07 22:15:08 +01:00
{{ ~ display_recipient ~ }}
2021-11-24 14:04:52 +01:00
</a>
2014-03-03 21:59:29 +01:00
2017-04-15 04:34:44 +02:00
{{! hidden narrow icon for copy-pasting }}
<span class="copy-paste-text">></span>
2014-03-03 21:59:29 +01:00
2017-04-15 04:34:44 +02:00
{{! topic stuff }}
<span class="stream_topic">
{{! topic link }}
2018-11-13 16:07:10 +01:00
<a class="message_label_clickable narrows_by_topic"
2021-11-24 14:04:52 +01:00
href=" {{ topic_url }} "
title=" {{ # tr }} Narrow to stream " { display_recipient}", topic " { topic}" {{ / tr }} ">
2017-04-15 04:34:44 +02:00
{{ # if use_match_properties }}
2021-11-24 14:04:52 +01:00
{{{ match_topic }}}
2017-04-15 04:34:44 +02:00
{{ else }}
2021-11-24 14:04:52 +01:00
{{ topic }}
2017-04-15 04:34:44 +02:00
{{ / if }}
</a>
2021-11-24 14:04:52 +01:00
</span>
<span class="recipient_bar_controls no-select">
2021-07-08 16:37:53 +02:00
<span class="topic_edit hidden-for-spectators">
<span class="topic_edit_form" id=" {{ id }} "></span>
</span>
2018-10-19 09:43:22 +02:00
{{! exterior links (e.g. to a trac ticket) }}
2018-11-15 16:41:21 +01:00
{{ # each topic_links }}
2021-12-04 15:39:38 +01:00
<a href=" {{ this .url }} " target="_blank" rel="noopener noreferrer" class="no-underline">
<i class="fa fa-external-link-square recipient_bar_icon" data-tippy-content="Open {{ this .text }} " aria-label=" {{ t 'External link' }} "></i>
</a>
2018-10-19 09:43:22 +02:00
{{ / each }}
2018-11-15 17:13:49 +01:00
{{! edit topic pencil icon }}
2017-04-15 04:34:44 +02:00
{{ # if always_visible_topic_edit }}
2022-08-26 09:17:01 +02:00
<i class="fa fa-pencil always_visible_topic_edit recipient_bar_icon hidden-for-spectators" data-tippy-content=" {{ t 'Edit topic' }} " role="button" tabindex="0" aria-label=" {{ t 'Edit topic' }} "></i>
2022-06-30 00:14:58 +02:00
{{ else if on_hover_topic_edit }}
2022-08-26 09:17:01 +02:00
<i class="fa fa-pencil on_hover_topic_edit recipient_bar_icon hidden-for-spectators" data-tippy-content=" {{ t 'Edit topic' }} " role="button" tabindex="0" aria-label=" {{ t 'Edit topic' }} "></i>
2017-04-15 04:34:44 +02:00
{{ / if }}
2014-03-03 21:59:29 +01:00
2021-10-06 01:46:58 +02:00
{{ # if user_can_resolve_topic }}
{{ # if topic_is_resolved }}
<i class="fa fa-check on_hover_topic_unresolve recipient_bar_icon hidden-for-spectators" data-topic-name=" {{ topic }} " data-tippy-content=" {{ t 'Mark as unresolved' }} " role="button" tabindex="0" aria-label=" {{ t 'Mark as unresolved' }} "></i>
{{ else }}
<i class="fa fa-check on_hover_topic_resolve recipient_bar_icon hidden-for-spectators" data-topic-name=" {{ topic }} " data-tippy-content=" {{ t 'Mark as resolved' }} " role="button" tabindex="0" aria-label=" {{ t 'Mark as resolved' }} "></i>
{{ / if }}
2021-06-27 09:16:03 +02:00
{{ / if }}
2021-04-30 07:44:43 +02:00
{{ # if topic_muted }}
2022-09-11 21:34:47 +02:00
<i class="zulip-icon zulip-icon-mute on_hover_topic_unmute recipient_bar_icon" data-stream-id=" {{ stream_id }} " data-topic-name=" {{ topic }} " data-tooltip-template-id="topic-unmute-tooltip-template" role="button" tabindex="0" aria-label=" {{ t 'Unmute topic' }} "></i>
<template id="topic-unmute-tooltip-template">
{{ # tr }} Unmute topic {{ / tr }}
{{ hotkey_hints "M" }}
</template>
2021-04-30 07:44:43 +02:00
{{ else }}
2022-09-11 21:34:47 +02:00
<i class="zulip-icon zulip-icon-mute on_hover_topic_mute recipient_bar_icon hidden-for-spectators" data-stream-id=" {{ stream_id }} " data-topic-name=" {{ topic }} " data-tooltip-template-id="topic-mute-tooltip-template" role="button" tabindex="0" aria-label=" {{ t 'Mute topic' }} "></i>
<template id="topic-mute-tooltip-template">
{{ # tr }} Mute topic {{ / tr }}
{{ hotkey_hints "M" }}
</template>
2021-04-30 07:44:43 +02:00
{{ / if }}
2017-08-28 06:54:31 +02:00
</span>
2020-07-06 15:56:45 +02:00
<span class="recipient_row_date {{ # if group_date_divider_html }} {{ else }} hide-date {{ / if }} "> {{{ date }}} </span>
2017-04-15 04:34:44 +02:00
</div>
2014-03-03 21:59:29 +01:00
</div>
2017-04-15 04:34:44 +02:00
</div>
2014-03-03 21:59:29 +01:00
{{ else }}
2017-04-15 04:34:44 +02:00
<div class="message_header message_header_private_message dark_background">
2014-03-03 21:59:29 +01:00
<div class="message-header-wrapper">
2017-04-15 04:34:44 +02:00
<div class="message-header-contents">
<a class="message_label_clickable narrows_by_recipient stream_label"
2021-11-24 14:04:52 +01:00
href=" {{ pm_with_url }} "
title=" {{ # tr }} Narrow to your private messages with { display_reply_to} {{ / tr }} ">
2021-04-14 03:04:02 +02:00
{{ # tr }} You and { display_reply_to} {{ / tr }}
2017-04-15 04:34:44 +02:00
</a>
2016-08-18 22:18:33 +02:00
2019-02-08 20:11:21 +01:00
<span class="recipient_row_date {{ # if group_date_divider_html }} {{ else }} hide-date {{ / if }} "> {{{ date }}} </span>
2017-04-15 04:34:44 +02:00
</div>
2014-03-03 21:59:29 +01:00
</div>
2017-04-15 04:34:44 +02:00
</div>
2014-03-14 16:28:54 +01:00
{{ / if }}