mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
This commit updates the "Add" and "Remove" buttons in the channel/group creation modal to use the action button component. Fixes part of #33027.
18 lines
917 B
Handlebars
18 lines
917 B
Handlebars
<tr class="settings-subscriber-row" data-user-id="{{user_id}}" >
|
|
<td class="panel_user_list">
|
|
{{> ../user_display_only_pill . display_value=full_name strikethrough=soft_removed is_active=true}}
|
|
</td>
|
|
{{#if email}}
|
|
<td class="subscriber-email settings-email-column {{#if soft_removed}} strikethrough {{/if}}">{{email}}</td>
|
|
{{else}}
|
|
<td class="hidden-subscriber-email {{#if soft_removed}} strikethrough {{/if}}">{{t "(hidden)"}}</td>
|
|
{{/if}}
|
|
<td>
|
|
{{#if soft_removed}}
|
|
{{> ../components/action_button custom_classes="undo_soft_removed_potential_subscriber" label=(t "Add") attention="quiet" intent="neutral" aria-label=(t "Add") }}
|
|
{{else}}
|
|
{{> ../components/action_button custom_classes="remove_potential_subscriber" label=(t "Remove") attention="quiet" intent="neutral" aria-label=(t "Remove") }}
|
|
{{/if}}
|
|
</td>
|
|
</tr>
|