mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
A temporary message appears on successful subscription, with a button offering to unsubscribe in case the user subscribed by accident.
17 lines
508 B
Handlebars
17 lines
508 B
Handlebars
{{! Client-side Mustache template for rendering the trailing bookend.}}
|
|
|
|
{{#if bookend_content}}
|
|
<div class="{{#if trailing}}trailing_bookend{{/if}} bookend sub-unsub-message">
|
|
<span>{{bookend_content}}</span>
|
|
<div class="sub_button_row">
|
|
<button class="btn stream_sub_unsub_button btn-default" type="button" name="subscription">
|
|
{{#if subscribed}}
|
|
Unsubscribe
|
|
{{else}}
|
|
Subscribe
|
|
{{/if}}
|
|
</button>
|
|
</div>
|
|
</div>
|
|
{{/if}}
|