From aee8449d64c16f4d6f86acb2bb6a0a0232928ece Mon Sep 17 00:00:00 2001 From: userAdityaa Date: Thu, 20 Feb 2025 17:58:09 +0530 Subject: [PATCH] user_profile: Rename classes for user and group lists. - Replace stream with channel. - Use dashes in names. - Fix some very confusing wording. --- web/src/user_profile.ts | 2 +- web/templates/user_group_list_item.hbs | 2 +- web/templates/user_stream_list_item.hbs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/user_profile.ts b/web/src/user_profile.ts index f5fa7a3491..8b0908e53b 100644 --- a/web/src/user_profile.ts +++ b/web/src/user_profile.ts @@ -1462,7 +1462,7 @@ export function initialize(): void { hide_user_profile(); }); - $("body").on("click", "#user-profile-modal .stream_list_item", () => { + $("body").on("click", "#user-profile-modal .user-profile-channel-list-item", () => { hide_user_profile(); }); diff --git a/web/templates/user_group_list_item.hbs b/web/templates/user_group_list_item.hbs index 50d2d5f4ba..ae3ab502c8 100644 --- a/web/templates/user_group_list_item.hbs +++ b/web/templates/user_group_list_item.hbs @@ -1,5 +1,5 @@ - + {{#if is_guest}} {{name}} {{else}} diff --git a/web/templates/user_stream_list_item.hbs b/web/templates/user_stream_list_item.hbs index afa4f0a3d5..f36cb828b4 100644 --- a/web/templates/user_stream_list_item.hbs +++ b/web/templates/user_stream_list_item.hbs @@ -1,9 +1,9 @@ - + {{> stream_privacy . }} - {{name}} + {{name}} {{#if show_unsubscribe_button}}