bookend: Add button to subscriber user to channel from bookend.

Add a "Subscribe" link at the end of the
"You are not subscribed to {channel}."
divider, that subscribes the user to the current channel.
This commit is contained in:
Aman Agrawal
2025-02-25 14:48:23 +00:00
committed by Tim Abbott
parent f8bbf228ef
commit f19cf73ef8

View File

@@ -22,8 +22,9 @@
{{/tr}}
{{else}}
{{#tr}}
You are not subscribed to <z-stream-name></z-stream-name>.
You are not subscribed to <z-stream-name></z-stream-name>. <subscribe-button></subscribe-button>
{{#*inline "z-stream-name"}}{{> stream_privacy . }} {{stream_name}}{{/inline}}
{{#*inline "subscribe-button"}} <a class="stream_sub_unsub_button">{{t 'Subscribe'}}</a>{{/inline}}
{{/tr}}
{{/if}}
</span>