{{#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}}{{#tr}}This bot has been deactivated.{{/tr}}{{else}}{{#tr}}This user has been deactivated.{{/tr}}{{/if}}
{{/if}}
{{#if is_bot}}
{{#if bot_owner}}
{{#tr}}Bot owner{{/tr}}:
{{bot_owner.full_name}}
{{else if is_system_bot}}
{{#tr}}System bot{{/tr}}
{{else}}
{{#tr}}Bot{{/tr}}
{{/if}}
{{else}}
{{ user_type }}
{{/if}}
{{!-- Display selected custom profile fields in this popover. --}}
{{> user_custom_profile_fields profile_fields=display_profile_fields for_user_info_popover=true}}