mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
settings: Refactor class names for folder rows.
This commit removes unused classes in folder row elements and updated used class names to use "-" instead of "_" following the convention we follow usually.
This commit is contained in:
@@ -114,11 +114,11 @@ export function update_folder_row(event: ChannelFolderUpdateEvent): void {
|
||||
const $folder_row = get_channel_folder_row(folder_id);
|
||||
|
||||
if (event.data.name !== undefined) {
|
||||
$folder_row.find(".channel_folder_name").text(event.data.name);
|
||||
$folder_row.find(".channel-folder-name").text(event.data.name);
|
||||
}
|
||||
|
||||
if (event.data.description !== undefined) {
|
||||
$folder_row.find(".channel_folder_description").text(event.data.description);
|
||||
$folder_row.find(".channel-folder-description").text(event.data.description);
|
||||
}
|
||||
|
||||
if (event.data.is_archived) {
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
<tr class="channel-folder-row movable-row" data-channel-folder-id="{{id}}">
|
||||
<td class="channel_folder_name_container">
|
||||
<td>
|
||||
{{#if is_admin}}
|
||||
<span class="move-handle">
|
||||
<i class="fa fa-ellipsis-v" aria-hidden="true"></i>
|
||||
<i class="fa fa-ellipsis-v" aria-hidden="true"></i>
|
||||
</span>
|
||||
{{/if}}
|
||||
<span class="channel_folder_name">{{folder_name}}</span>
|
||||
<span class="channel-folder-name">{{folder_name}}</span>
|
||||
</td>
|
||||
<td class="channel_folder_description_container">
|
||||
<span class="channel_folder_description">{{folder_description}}</span>
|
||||
<td>
|
||||
<span class="channel-folder-description">{{folder_description}}</span>
|
||||
</td>
|
||||
{{#if is_admin}}
|
||||
<td class="actions">
|
||||
|
||||
Reference in New Issue
Block a user