mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
This commit removes the "Remove" and "Unsubscribe" action buttons from various tables and replaces them with icon buttons using the "close" icon. Additionally, previously the rows with and without a remove button had different heights. This commit updates the fixed `px` values to `em` units to ensure equal height for all rows, regardless of whether a remove-subscription button is present. Fixes: #34874.
37 lines
1.6 KiB
Handlebars
37 lines
1.6 KiB
Handlebars
<div id="admin-default-channels-list" class="settings-section" data-name="default-channels-list">
|
|
<p>{{t "Configure the default channels new users are subscribed to when joining your organization." }}</p>
|
|
|
|
<div class="settings_panel_list_header">
|
|
<h3>{{t "Default channels"}}</h3>
|
|
<div class="add_default_streams_button_container">
|
|
{{#if is_admin}}
|
|
{{> ../components/action_button
|
|
id="show-add-default-streams-modal"
|
|
label=(t "Add channel")
|
|
attention="quiet"
|
|
intent="brand"
|
|
type="submit"
|
|
}}
|
|
{{/if}}
|
|
{{> filter_text_input placeholder=(t 'Filter') aria_label=(t 'Filter default channels')}}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="progressive-table-wrapper" data-simplebar data-simplebar-tab-index="-1">
|
|
<table class="table table-striped wrapped-table">
|
|
<thead class="table-sticky-headers">
|
|
<th class="active" data-sort="alphabetic" data-sort-prop="name">{{t "Name" }}
|
|
<i class="table-sortable-arrow zulip-icon zulip-icon-sort-arrow-down"></i>
|
|
</th>
|
|
{{#if is_admin}}
|
|
<th class="actions"></th>
|
|
{{/if}}
|
|
</thead>
|
|
<tbody data-empty="{{t 'There are no default channels.' }}" data-search-results-empty="{{t 'No default channels match your current filter.' }}"
|
|
id="admin_default_streams_table" class="admin_default_stream_table"></tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="admin_page_default_streams_loading_indicator"></div>
|
|
</div>
|