{{#unless is_bot}} {{#if is_active}} {{else}} {{#if is_deleted}} {{else}} {{/if}} {{/if}} {{/unless}} {{#if is_bot}} {{/if}} {{> user_full_name name=full_name}} {{> components/icon_button custom_classes="copy-link-to-user-profile tippy-zulip-delayed-tooltip" icon="link-alt" intent="neutral" data-tippy-content=(t "Copy link to profile") aria-label=(t "Copy link to profile") }} {{#if is_me}} {{#if can_manage_profile}} {{> components/icon_button custom_classes="user-profile-update-user-tab-button tippy-zulip-delayed-tooltip" icon="edit" intent="neutral" data-tippy-content=(t "Edit profile") aria-label=(t "Edit profile") }} {{else}} {{> components/icon_button custom_classes="user-profile-profile-settings-button tippy-zulip-delayed-tooltip" icon="edit" intent="neutral" data-tippy-content=(t "Edit profile") aria-label=(t "Edit profile") }} {{/if}} {{else if can_manage_profile}} {{#if is_bot}} {{> components/icon_button custom_classes="user-profile-update-user-tab-button tippy-zulip-delayed-tooltip" icon="edit" intent="neutral" data-tippy-content=(t "Manage bot") aria-label=(t "Manage bot") }} {{else}} {{> components/icon_button custom_classes="user-profile-update-user-tab-button tippy-zulip-delayed-tooltip" icon="edit" intent="neutral" data-tippy-content=(t "Manage user") aria-label=(t 'Manage user') }} {{/if}} {{/if}}

{{> components/icon_button icon="close" intent="neutral" custom_classes="modal__close" aria-label=(t 'Close modal') data-micromodal-close=true }}
{{#if email}}
{{t "Email" }}
{{email}}
{{/if}}
{{t "User ID" }}
{{user_id}}
{{t "Role" }}
{{#if is_bot}} {{#if is_system_bot}}
{{t "System bot" }}
{{else}}
{{t "Bot" }} ({{user_type}})
{{/if}} {{else}}
{{user_type}}
{{/if}}
{{#if is_bot}} {{t "Created"}} {{else if is_imported_stub}} {{t "Account imported"}} {{else}} {{t "Joined"}} {{/if}}
{{date_joined}}
{{#if user_time}}
{{t "Local time" }}
{{user_time}}
{{/if}}
{{#if is_bot}}
{{t "Bot type" }}
{{bot_type}}
{{#if bot_owner}}
{{t "Owner" }}
{{/if}} {{else}} {{> user_custom_profile_fields profile_fields=profile_data}} {{/if}}

{{t 'Subscribed channels' }}

    {{t 'Subscribe {full_name} to channels'}}

    {{> user_profile_subscribe_widget}}

    {{t 'Group membership' }}

      {{t 'Add {full_name} to groups'}}

      {{~! Squash whitespace so that placeholder is displayed when empty. ~}}
      {{> components/action_button label=(t "Add") custom_classes="add-groups-button" variant="subtle" intent="brand" aria-label=(t "Add") }}