zulip/static/templates/subscription.handlebars

25 lines
893 B
Handlebars

{{! Client-side Mustache template for rendering subscriptions.}}
{{#with this}}
<div class="stream-row" data-stream-id="{{stream_id}}" data-stream-name="{{name}}">
{{#if subscribed}}
<div class="check checked sub_unsub_button"></div>
{{else}}
<div class="check sub_unsub_button"></div>
{{/if}}
{{ partial "subscription_setting_icon" }}
<div class="sub-info-box">
<div class="top-bar">
<div class="stream-name">{{name}}</div>
<div class="settings-dropdown-trigger">
<i class="icon-vector-chevron-down"></i>
</div>
<div class="subscriber-count">
<i class="icon-vector-user"></i>
{{subscriber_count}}
</div>
</div>
<div class="description" data-no-description="{{t 'No description.'}}">{{description}}</div>
</div>
</div>
{{/with}}