mirror of https://github.com/zulip/zulip.git
28 lines
994 B
Handlebars
28 lines
994 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>
|
|
{{#tr}}
|
|
Go to <z-stream></z-stream> settings
|
|
{{#*inline "z-stream"}}{{> inline_decorated_stream_name stream=stream}}{{/inline}}
|
|
{{/tr}}
|
|
</div>
|
|
<div class="tooltip-inner-content">{{t "{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}}
|