2014-02-05 16:55:24 +01:00
|
|
|
{{! Client-side Mustache template for rendering the trailing bookend.}}
|
|
|
|
|
|
|
|
{{#if bookend_content}}
|
|
|
|
<div class="{{#if trailing}}trailing_bookend{{/if}} bookend sub-unsub-message">
|
2017-10-11 14:42:32 +02:00
|
|
|
<span>{{{bookend_content}}}</span>
|
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>
|
|
|
|
{{/if}}
|