mirror of https://github.com/zulip/zulip.git
25 lines
869 B
Handlebars
25 lines
869 B
Handlebars
{{#if stream_settings_link}}
|
|
<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}}">
|
|
{{> navbar_icon_and_title }}
|
|
</a>
|
|
<template id="stream-details-tooltip-template">
|
|
<div>
|
|
<div>{{t "Go to stream settings" }}</div>
|
|
<div class="tooltip-inner-content italic">
|
|
{{t "This stream has {sub_count, plural, =0 {no subscribers} one {# subscriber} other {# subscribers}}." }}
|
|
</div>
|
|
</div>
|
|
</template>
|
|
<span class="narrow_description rendered_markdown">
|
|
{{#if rendered_narrow_description}}
|
|
{{rendered_markdown rendered_narrow_description}}
|
|
{{else}}
|
|
{{t "(no description)"}}
|
|
{{/if}}
|
|
</span>
|
|
{{else}}
|
|
<span class="navbar_title">
|
|
{{> navbar_icon_and_title }}
|
|
</span>
|
|
{{/if}}
|