Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
templates: Fix formatting of unsubscribed channels alert.
Sairam Bisoyi518f673792c6
diff --git a/web/styles/app_components.css b/web/styles/app_components.cssindex ef253c84e13..dbe9b64538e 100644--- a/web/styles/app_components.css+++ b/web/styles/app_components.css@@ -774,6 +774,7 @@ input.settings_text_input {}.inline-decorated-channel-name {+ white-space: nowrap;display: inline;padding-left: var(--inline-decorated-channel-name-padding-left);diff --git a/web/templates/decorated_channel_name.hbs b/web/templates/decorated_channel_name.hbsindex 2a135c9ded5..bc83aa6a0ce 100644--- a/web/templates/decorated_channel_name.hbs+++ b/web/templates/decorated_channel_name.hbs@@ -7,3 +7,4 @@<span class="decorated-channel-name">{{stream.name}}</span>{{~!-- squash whitespace --~}}</span>+{{~!-- squash whitespace --~}}diff --git a/web/templates/skipped_marking_unread.hbs b/web/templates/skipped_marking_unread.hbsindex 680907a4188..06f25dcf495 100644--- a/web/templates/skipped_marking_unread.hbs+++ b/web/templates/skipped_marking_unread.hbs@@ -1,10 +1,8 @@{{#tr}}- Because you are not subscribed to <z-streams></z-streams>, messages in this channel were not marked as unread.- {{#*inline "z-streams" ~}}- <strong>- {{~#list_each streams as |stream| ~}}- {{> decorated_channel_name inline_with_text=true stream=stream}}- {{~/list_each ~}}- </strong>+ Messages in unsubscribed channels (<z-streams></z-streams>) were not marked as unread.+ {{#*inline "z-streams"~}}+ {{~#list_each streams as |stream|~}}+ <strong>{{~> decorated_channel_name inline_with_text=true stream=stream~}}</strong>+ {{~/list_each~}}{{~/inline}}{{/tr}}diff --git a/web/tests/stream_pill.test.cjs b/web/tests/stream_pill.test.cjsindex fe58041b3b0..efe0e8f0cbd 100644--- a/web/tests/stream_pill.test.cjs+++ b/web/tests/stream_pill.test.cjs@@ -154,8 +154,7 @@ run_test("generate_pill_html", () => {"<div class='pill 'data-stream-id=\"101\" tabindex=0>\n" +' <span class="pill-label">\n' +' <span class="pill-value">\n' +- ' <span class="decorated-channel-name-wrapper"><span class="channel-privacy-type-icon"><i class="zulip-icon zulip-icon-hashtag" aria-hidden="true"></i></span><span class="decorated-channel-name">Denmark</span></span>\n' +- " </span></span>\n" ++ ' <span class="decorated-channel-name-wrapper"><span class="channel-privacy-type-icon"><i class="zulip-icon zulip-icon-hashtag" aria-hidden="true"></i></span><span class="decorated-channel-name">Denmark</span></span> </span></span>\n' +' <div class="exit">\n' +' <a role="button" class="zulip-icon zulip-icon-close pill-close-button"></a>\n' +" </div>\n" +