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.
20 lines
651 B
Handlebars
20 lines
651 B
Handlebars
{{#with stream}}
|
|
<tr class="default_stream_row hidden-remove-button-row" data-stream-id="{{stream_id}}">
|
|
<td>
|
|
{{#if invite_only}}<i class="fa fa-lock" aria-hidden="true"></i>{{/if}}
|
|
<span class="default_stream_name">{{name}}</span>
|
|
</td>
|
|
{{#if ../can_modify}}
|
|
<td class="actions">
|
|
{{> ../components/icon_button
|
|
icon="close"
|
|
intent="danger"
|
|
custom_classes="remove-default-stream tippy-zulip-delayed-tooltip hidden-remove-button"
|
|
aria-label=(t "Remove from default")
|
|
data-tippy-content=(t "Remove from default")
|
|
}}
|
|
</td>
|
|
{{/if}}
|
|
</tr>
|
|
{{/with}}
|