Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

user_profile: Rename classes for user and group lists.

userAdityaaaee8449d64c1
diff --git a/web/src/user_profile.ts b/web/src/user_profile.ts
index f5fa7a3491f..8b0908e53bd 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 50d2d5f4bad..ae3ab502c85 100644
--- a/web/templates/user_group_list_item.hbs
+++ b/web/templates/user_group_list_item.hbs
@@ -1,5 +1,5 @@
<tr data-group-id="{{group_id}}">
- <td class="group_list_item">
+ <td class="user-profile-group-row">
{{#if is_guest}}
{{name}}
{{else}}
diff --git a/web/templates/user_stream_list_item.hbs b/web/templates/user_stream_list_item.hbs
index afa4f0a3d56..f36cb828b49 100644
--- a/web/templates/user_stream_list_item.hbs
+++ b/web/templates/user_stream_list_item.hbs
@@ -1,9 +1,9 @@
<tr data-stream-id="{{stream_id}}">
- <td class="subscription_list_stream">
+ <td class="user-profile-channel-row">
<span class="stream-privacy-original-color-{{stream_id}} stream-privacy filter-icon" style="color: {{stream_color}}">
{{> stream_privacy . }}
</span>
- <a class = "stream_list_item" href="{{stream_edit_url}}">{{name}}</a>
+ <a class="user-profile-channel-list-item" href="{{stream_edit_url}}">{{name}}</a>
</td>
{{#if show_unsubscribe_button}}
<td class="remove_subscription">