{{#unless is_bot}} {{#if is_active}} {{else}} {{/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}}

{{#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}}
{{t "Joined" }}
{{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}}
{{#if show_user_subscribe_widget}}

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

{{> user_profile_subscribe_widget}} {{/if}}

{{t 'Subscribed channels' }}

{{#if show_user_group_container}}

{{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" attention="quiet" intent="brand" aria-label=(t "Add") }}
{{/if}}

{{t 'Group membership' }}