From d5822a04be353e709c48a602db3d14b68acb4211 Mon Sep 17 00:00:00 2001 From: Karl Stolley Date: Tue, 22 Apr 2025 12:40:49 -0500 Subject: [PATCH] decorated_channels: Present names in DOM nodes. --- web/templates/dropdown_list.hbs | 2 +- web/templates/inline_decorated_channel_name.hbs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/templates/dropdown_list.hbs b/web/templates/dropdown_list.hbs index 37f0a55660..b56b5322c5 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}} - {{name}} + {{name}} {{else if is_setting_disabled}} {{t "Disable" }} {{else}} diff --git a/web/templates/inline_decorated_channel_name.hbs b/web/templates/inline_decorated_channel_name.hbs index e3f24436ea..dc85b1acce 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 ~}} - {{stream.name ~}} + {{stream.name ~}} {{~ else if stream.invite_only ~}} - {{stream.name ~}} + {{stream.name ~}} {{~ else if stream.is_web_public ~}} - {{stream.name ~}} + {{stream.name ~}} {{~ else ~}} - {{stream.name ~}} + {{stream.name ~}} {{~/if~}}