2023-02-09 22:43:25 +01:00
|
|
|
{{! Client-side Handlebars template for rendering the trailing bookend. }}
|
2021-11-16 07:05:28 +01:00
|
|
|
<div class="{{#if is_trailing_bookend}}trailing_bookend {{/if}}bookend sub-unsub-message">
|
2021-11-04 07:11:19 +01:00
|
|
|
{{#if is_spectator}}
|
|
|
|
<span class="recent-topics-link">
|
2022-10-24 12:18:09 +02:00
|
|
|
<a href="#recent">{{t "Browse recent conversations" }}</a>
|
2021-11-04 07:11:19 +01:00
|
|
|
</span>
|
|
|
|
{{else}}
|
|
|
|
<span class="stream-status">
|
|
|
|
{{#if deactivated}}
|
2024-04-18 15:20:36 +02:00
|
|
|
{{t "This channel has been archived." }}
|
2021-11-04 07:11:19 +01:00
|
|
|
{{else if subscribed }}
|
2022-11-29 17:39:59 +01:00
|
|
|
{{#tr}}
|
2024-07-10 08:46:04 +02:00
|
|
|
You subscribed to <z-stream-name></z-stream-name>.
|
2023-04-24 21:19:04 +02:00
|
|
|
{{#*inline "z-stream-name"}}{{> stream_privacy }} {{stream_name}}{{/inline}}
|
2022-11-29 17:39:59 +01:00
|
|
|
{{/tr}}
|
2021-11-04 07:11:19 +01:00
|
|
|
{{else if just_unsubscribed }}
|
2022-11-29 17:39:59 +01:00
|
|
|
{{#tr}}
|
2024-07-10 08:46:04 +02:00
|
|
|
You unsubscribed from <z-stream-name></z-stream-name>.
|
2023-04-24 21:19:04 +02:00
|
|
|
{{#*inline "z-stream-name"}}{{> stream_privacy }} {{stream_name}}{{/inline}}
|
2022-11-29 17:39:59 +01:00
|
|
|
{{/tr}}
|
2021-11-04 07:11:19 +01:00
|
|
|
{{else}}
|
2022-11-29 17:39:59 +01:00
|
|
|
{{#tr}}
|
2024-07-10 08:46:04 +02:00
|
|
|
You are not subscribed to <z-stream-name></z-stream-name>.
|
2023-04-24 21:19:04 +02:00
|
|
|
{{#*inline "z-stream-name"}}{{> stream_privacy }} {{stream_name}}{{/inline}}
|
2022-11-29 17:39:59 +01:00
|
|
|
{{/tr}}
|
2021-11-04 07:11:19 +01:00
|
|
|
{{/if}}
|
|
|
|
</span>
|
|
|
|
{{/if}}
|
2021-11-16 03:05:40 +01:00
|
|
|
{{#if can_toggle_subscription}}
|
2024-09-11 21:46:44 +02:00
|
|
|
<div class="sub_button_row">
|
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>
|