mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +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}}
|
{{/tr}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#tr}}
|
{{#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 "z-stream-name"}}{{> stream_privacy . }} {{stream_name}}{{/inline}}
|
||||||
|
{{#*inline "subscribe-button"}} <a class="stream_sub_unsub_button">{{t 'Subscribe'}}</a>{{/inline}}
|
||||||
{{/tr}}
|
{{/tr}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user