mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user