bookend: Only show bookend buttons in trailing bookends.

Apparently, this template was just always missing this check.

Fixes #5237.
This commit is contained in:
Tim Abbott 2017-06-05 16:22:38 -07:00
parent 113b64ad4b
commit 235bf65668
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@
{{#if bookend_content}}
<div class="{{#if trailing}}trailing_bookend{{/if}} bookend sub-unsub-message">
<span>{{bookend_content}}</span>
{{#if trailing}}
<div class="sub_button_row">
<button class="btn stream_sub_unsub_button btn-default" type="button" name="subscription">
{{#if subscribed}}
@ -12,5 +13,6 @@
{{/if}}
</button>
</div>
{{/if}}
</div>
{{/if}}