Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
decorated_channels: Present names in DOM nodes.
Karl Stolleyd5822a04be35
diff --git a/web/templates/dropdown_list.hbs b/web/templates/dropdown_list.hbsindex 37f0a55660c..b56b5322c5e 100644--- a/web/templates/dropdown_list.hbs+++ b/web/templates/dropdown_list.hbs@@ -24,7 +24,7 @@{{#if stream}}{{> inline_decorated_channel_name stream=stream show_colored_icon=true}}{{else if is_direct_message}}- <i class="zulip-icon zulip-icon-users channel-privacy-type-icon"></i> {{name}}+ <i class="zulip-icon zulip-icon-users channel-privacy-type-icon"></i> <span class="decorated-dm-name">{{name}}</span>{{else if is_setting_disabled}}<span class="setting-disabled-option"><i class="setting-disabled-option-icon fa fa-ban" aria-hidden="true"></i>{{t "Disable" }}</span>{{else}}diff --git a/web/templates/inline_decorated_channel_name.hbs b/web/templates/inline_decorated_channel_name.hbsindex e3f24436ea6..dc85b1accef 100644--- a/web/templates/inline_decorated_channel_name.hbs+++ b/web/templates/inline_decorated_channel_name.hbs@@ -1,10 +1,10 @@{{! This controls whether the swatch next to streams in the left sidebar has a lock icon. }}{{~#if stream.is_archived ~}}-<i class="zulip-icon zulip-icon-archive channel-privacy-type-icon" {{#if show_colored_icon}}style="color: {{stream.color}}"{{/if}} aria-hidden="true"></i> {{stream.name ~}}+<i class="zulip-icon zulip-icon-archive channel-privacy-type-icon" {{#if show_colored_icon}}style="color: {{stream.color}}"{{/if}} aria-hidden="true"></i> <span class="decorated-channel-name">{{stream.name ~}}</span>{{~ else if stream.invite_only ~}}-<i class="zulip-icon zulip-icon-lock channel-privacy-type-icon" {{#if show_colored_icon}}style="color: {{stream.color}}"{{/if}} aria-hidden="true"></i> {{stream.name ~}}+<i class="zulip-icon zulip-icon-lock channel-privacy-type-icon" {{#if show_colored_icon}}style="color: {{stream.color}}"{{/if}} aria-hidden="true"></i> <span class="decorated-channel-name">{{stream.name ~}}</span>{{~ else if stream.is_web_public ~}}-<i class="zulip-icon zulip-icon-globe channel-privacy-type-icon" {{#if show_colored_icon}}style="color: {{stream.color}}"{{/if}} aria-hidden="true"></i> {{stream.name ~}}+<i class="zulip-icon zulip-icon-globe channel-privacy-type-icon" {{#if show_colored_icon}}style="color: {{stream.color}}"{{/if}} aria-hidden="true"></i> <span class="decorated-channel-name">{{stream.name ~}}</span>{{~ else ~}}-<i class="zulip-icon zulip-icon-hashtag channel-privacy-type-icon" {{#if show_colored_icon}}style="color: {{stream.color}}"{{/if}} aria-hidden="true"></i> {{stream.name ~}}+<i class="zulip-icon zulip-icon-hashtag channel-privacy-type-icon" {{#if show_colored_icon}}style="color: {{stream.color}}"{{/if}} aria-hidden="true"></i> <span class="decorated-channel-name">{{stream.name ~}}</span>{{~/if~}}