Files
upstream-zulip/web/templates/settings/settings_bot_list_row.hbs
upstream-mirror 64898b2c79
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
snapshot of https://github.com/zulip/zulip.git @ 48c69911c7dd4e03b20552eb3bd77ad8151c1357 (2026-09-15)
2026-09-15 15:05:30 +05:00

81 lines
3.3 KiB
Handlebars

<tr class="user_row{{#if is_active}} active-user{{else}} deactivated_user{{/if}}" data-user-id="{{user_id}}">
<td class="user_name panel_user_list">
{{> ../user_display_only_pill display_value=full_name user_id=user_id is_bot=true img_src=img_src is_active=is_active is_current_user=false}}
</td>
<td class="email settings-email-column">
<span class="email">{{display_email}}</span>
</td>
<td>
<span class="user_role">{{user_role_text}}</span>
</td>
<td>
<span class="owner panel_user_list">
{{#if no_owner}}
{{bot_owner_full_name}}
{{else}}
{{> ../user_display_only_pill display_value=bot_owner_full_name user_id=bot_owner_id img_src=owner_img_src is_active=is_bot_owner_active}}
{{/if}}
</span>
</td>
<td class="bot_type">
<span class="bot type">{{bot_type}}</span>
</td>
<td class="actions">
<span class="user-status-settings">
{{#if show_download_zuliprc_button}}
<a type="submit" download="zuliprc" data-user-id="{{user_id}}" class="hidden-zuliprc-download" hidden></a>
<span class="tippy-zulip-delayed-tooltip" data-tippy-content="{{t 'Download zuliprc'}}">
{{> ../components/icon_button
icon="download"
intent="neutral"
custom_classes="download-bot-zuliprc-button"
}}
</span>
{{/if}}
{{#if show_generate_integration_url_button}}
<span class="tippy-zulip-delayed-tooltip" data-tippy-content="{{t 'Generate URL for integration'}}">
{{> ../components/icon_button
icon="link-2"
intent="neutral"
custom_classes="generate-integration-url-button"
}}
</span>
{{/if}}
{{#if show_manage_buttons}}
<span class="{{#if cannot_edit}}tippy-zulip-tooltip{{else}}tippy-zulip-delayed-tooltip{{/if}}"
{{#if cannot_edit}}
data-tippy-content="{{t 'This bot cannot be managed.'}}"
{{else}}
data-tippy-content="{{t 'Manage bot'}}"
{{/if}}>
{{> ../components/icon_button
icon="user-cog"
intent="neutral"
custom_classes="open-user-form manage-user-button"
disabled=cannot_edit
}}
</span>
{{#if is_active}}
<span class="deactivate-bot-tooltip {{#if cannot_deactivate}}tippy-zulip-tooltip{{/if}}"
{{#if cannot_deactivate}}data-tippy-content="{{t 'This bot cannot be deactivated.'}}"{{/if}}>
{{> ../components/icon_button
icon="user-x"
intent="danger"
custom_classes="deactivate"
disabled=cannot_deactivate
}}
</span>
{{else}}
<span class="reactivate-bot-tooltip">
{{> ../components/icon_button
icon="user-plus"
intent="success"
custom_classes="reactivate"
}}
</span>
{{/if}}
{{/if}}
</span>
</td>
</tr>