2012-09-18 16:18:25 +02:00
|
|
|
{{! Client-side Mustache template for rendering subscriptions.}}
|
2012-12-12 07:09:25 +01:00
|
|
|
{{#with this}}
|
2016-10-29 00:13:19 +02:00
|
|
|
<div class="stream-row" data-stream-id="{{stream_id}}" data-stream-name="{{name}}">
|
2016-10-29 01:58:22 +02:00
|
|
|
{{#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>
|
2016-11-05 01:16:30 +01:00
|
|
|
<div class="description" data-no-description="{{t 'No description.'}}">{{description}}</div>
|
2016-10-29 01:58:22 +02:00
|
|
|
</div>
|
2013-11-08 10:12:05 +01:00
|
|
|
</div>
|
2012-12-12 07:09:25 +01:00
|
|
|
{{/with}}
|