2014-02-05 16:55:24 +01:00
|
|
|
{{! Client-side Mustache template for rendering the trailing bookend.}}
|
|
|
|
<div class="{{#if trailing}}trailing_bookend{{/if}} bookend sub-unsub-message">
|
2021-11-04 07:11:19 +01:00
|
|
|
{{#if is_spectator}}
|
|
|
|
<span class="recent-topics-link">
|
|
|
|
<a href="#recent_topics">{{t "Browse recent topics" }}</a>
|
|
|
|
</span>
|
|
|
|
{{else}}
|
|
|
|
<span class="stream-status">
|
|
|
|
{{#if deactivated}}
|
|
|
|
{{t "This stream has been deactivated" }}
|
|
|
|
{{else if subscribed }}
|
|
|
|
{{#tr}}You subscribed to stream {stream_name}{{/tr}}
|
|
|
|
{{else if just_unsubscribed }}
|
|
|
|
{{#tr}}You unsubscribed from stream {stream_name}{{/tr}}
|
|
|
|
{{else}}
|
|
|
|
{{#tr}}You are not subscribed to stream {stream_name}{{/tr}}
|
|
|
|
{{/if}}
|
|
|
|
</span>
|
|
|
|
{{/if}}
|
2017-06-06 01:22:38 +02:00
|
|
|
{{#if trailing}}
|
2017-06-04 23:19:07 +02:00
|
|
|
<div class="sub_button_row new-style">
|
2017-06-06 02:57:44 +02:00
|
|
|
<button class="button white rounded stream_sub_unsub_button {{#unless subscribed}}sea-green{{/unless}}" type="button" name="subscription">
|
2016-03-22 16:50:09 +01:00
|
|
|
{{#if subscribed}}
|
2017-06-06 01:19:47 +02:00
|
|
|
{{t 'Unsubscribe' }}
|
2016-03-22 16:50:09 +01:00
|
|
|
{{else}}
|
2017-06-06 01:19:47 +02:00
|
|
|
{{t 'Subscribe' }}
|
2016-03-22 16:50:09 +01:00
|
|
|
{{/if}}
|
2016-03-07 03:51:10 +01:00
|
|
|
</button>
|
|
|
|
</div>
|
2017-06-06 01:22:38 +02:00
|
|
|
{{/if}}
|
2014-02-05 16:55:24 +01:00
|
|
|
</div>
|