Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tooltips: Use stream ID instead of name for tooltip IDs.
Maneesh Shukladaa98c72d35c
diff --git a/web/templates/stream_settings/browse_streams_list_item.hbs b/web/templates/stream_settings/browse_streams_list_item.hbsindex d7c7d23c6e1..ae9ed305d6a 100644--- a/web/templates/stream_settings/browse_streams_list_item.hbs+++ b/web/templates/stream_settings/browse_streams_list_item.hbs@@ -4,8 +4,8 @@{{#if subscribed}}<div class="check checked sub_unsub_button">- <div class="tippy-zulip-tooltip" data-tooltip-template-id="unsubscribe-from-{{name}}-stream-tooltip-template">- <template id="unsubscribe-from-{{name}}-stream-tooltip-template">+ <div class="tippy-zulip-tooltip" data-tooltip-template-id="unsubscribe-from-{{stream_id}}-stream-tooltip-template">+ <template id="unsubscribe-from-{{stream_id}}-stream-tooltip-template"><span>{{#tr}}Unsubscribe from <z-stream></z-stream>@@ -23,8 +23,8 @@{{else}}<div class="check sub_unsub_button {{#unless should_display_subscription_button}}disabled{{/unless}}">- <div class="tippy-zulip-tooltip" data-tooltip-template-id="{{#if should_display_subscription_button}}subscribe-to-{{name}}-stream-tooltip-template{{else}}cannot-subscribe-to-{{name}}-stream-tooltip-template{{/if}}">- <template id="subscribe-to-{{name}}-stream-tooltip-template">+ <div class="tippy-zulip-tooltip" data-tooltip-template-id="{{#if should_display_subscription_button}}subscribe-to-{{stream_id}}-stream-tooltip-template{{else}}cannot-subscribe-to-{{stream_id}}-stream-tooltip-template{{/if}}">+ <template id="subscribe-to-{{stream_id}}-stream-tooltip-template"><span>{{#tr}}Subscribe to <z-stream></z-stream>@@ -33,7 +33,7 @@</span></template>- <template id="cannot-subscribe-to-{{name}}-stream-tooltip-template">+ <template id="cannot-subscribe-to-{{stream_id}}-stream-tooltip-template"><span>{{#tr}}Cannot subscribe to <z-stream></z-stream>