2020-06-28 03:06:22 +02:00
|
|
|
{{#if stream_settings_link}}
|
2023-11-04 14:09:47 +01:00
|
|
|
<a class="message-header-stream-settings-button tippy-zulip-tooltip" data-tooltip-template-id="stream-details-tooltip-template" data-tippy-placement="bottom" href="{{stream_settings_link}}">
|
2020-06-28 03:06:22 +02:00
|
|
|
{{> navbar_icon_and_title }}
|
|
|
|
</a>
|
2023-11-04 14:09:47 +01:00
|
|
|
<template id="stream-details-tooltip-template">
|
|
|
|
<div>
|
2024-04-18 15:20:36 +02:00
|
|
|
<div>{{t "Go to channel settings" }}</div>
|
2023-11-30 00:41:27 +01:00
|
|
|
{{#unless is_spectator}}
|
2023-11-22 18:55:47 +01:00
|
|
|
<div class="tooltip-inner-content italic">
|
2024-04-18 15:20:36 +02:00
|
|
|
{{t "This channel has {sub_count, plural, =0 {no subscribers} one {# subscriber} other {# subscribers}}." }}
|
2023-11-04 14:09:47 +01:00
|
|
|
</div>
|
2023-11-30 00:41:27 +01:00
|
|
|
{{/unless}}
|
2023-11-04 14:09:47 +01:00
|
|
|
</div>
|
|
|
|
</template>
|
2022-05-16 19:24:49 +02:00
|
|
|
<span class="narrow_description rendered_markdown">
|
2020-06-28 03:06:22 +02:00
|
|
|
{{#if rendered_narrow_description}}
|
|
|
|
{{rendered_markdown rendered_narrow_description}}
|
2020-06-12 17:21:30 +02:00
|
|
|
{{else}}
|
2024-02-08 11:48:48 +01:00
|
|
|
{{#if is_admin}}
|
|
|
|
<a href="{{stream_settings_link}}">
|
|
|
|
{{t "Add a description"}}
|
|
|
|
</a>
|
|
|
|
{{/if}}
|
2020-02-03 17:01:11 +01:00
|
|
|
{{/if}}
|
|
|
|
</span>
|
2020-06-28 03:06:22 +02:00
|
|
|
{{else}}
|
2022-05-16 19:24:49 +02:00
|
|
|
<span class="navbar_title">
|
2020-06-28 03:06:22 +02:00
|
|
|
{{> navbar_icon_and_title }}
|
|
|
|
</span>
|
|
|
|
{{/if}}
|