{{#if is_active }}
{{#if user_email}}
{{!-- This div is added to enable interactivity for tooltip - https://atomiks.github.io/tippyjs/v5/accessibility/#interactivity --}}
{{ user_email }}
{{/if}}
{{else}}
{{#if is_bot}}{{t "This bot has been deactivated." }}{{else}}{{t "This user has been deactivated." }}{{/if}}
{{/if}}
{{#if is_bot}}
{{#if bot_owner}}
{{t "Bot owner" }}:
{{bot_owner.full_name}}
{{else if is_system_bot}}
{{t "System bot" }}
{{else}}
{{t "Bot" }}
{{/if}}
{{else}}
{{ user_type }}
{{/if}}
{{!-- Display selected custom profile fields in this popover. --}}
{{> user_custom_profile_fields profile_fields=display_profile_fields for_user_card_popover=true}}