user_profile: Rename classes for user and group lists.

- Replace stream with channel.
- Use dashes in names.
- Fix some very confusing wording.
This commit is contained in:
userAdityaa 2025-02-20 17:58:09 +05:30 committed by Tim Abbott
parent 9d726699e1
commit aee8449d64
3 changed files with 4 additions and 4 deletions

View File

@ -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();
});

View File

@ -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}}

View File

@ -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">