|
{{> ../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}}
|
{{display_email}}
|
{{user_role_text}}
|
{{#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}}
|
{{bot_type}}
|
{{#if show_download_zuliprc_button}}
{{> ../components/icon_button
icon="download"
intent="neutral"
custom_classes="download-bot-zuliprc-button"
}}
{{/if}}
{{#if show_generate_integration_url_button}}
{{> ../components/icon_button
icon="link-2"
intent="neutral"
custom_classes="generate-integration-url-button"
}}
{{/if}}
{{#if show_manage_buttons}}
{{> ../components/icon_button
icon="user-cog"
intent="neutral"
custom_classes="open-user-form manage-user-button"
disabled=cannot_edit
}}
{{#if is_active}}
{{> ../components/icon_button
icon="user-x"
intent="danger"
custom_classes="deactivate"
disabled=cannot_deactivate
}}
{{else}}
{{> ../components/icon_button
icon="user-plus"
intent="success"
custom_classes="reactivate"
}}
{{/if}}
{{/if}}
|