Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

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

Aman Agrawalf19cf73ef8f7
diff --git a/web/templates/bookend.hbs b/web/templates/bookend.hbs
index 425faa1d868..2aa50744555 100644
--- a/web/templates/bookend.hbs
+++ b/web/templates/bookend.hbs
@@ -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>