2024-07-31 15:55:08 +02:00
|
|
|
<div id="profile-settings" class="settings-section" data-name="profile">
|
2021-06-17 18:42:31 +02:00
|
|
|
<div class="profile-settings-form">
|
2022-02-25 22:00:26 +01:00
|
|
|
<div class="profile-main-panel inline-block">
|
2023-01-13 13:08:51 +01:00
|
|
|
<h3 class="inline-block" id="user-profile-header">{{t "Profile" }}</h3>
|
2021-06-17 18:42:31 +02:00
|
|
|
<div id="user_details_section">
|
2022-09-13 14:12:32 +02:00
|
|
|
<div class="full-name-change-container">
|
2021-06-17 18:42:31 +02:00
|
|
|
<div class="input-group inline-block grid user-name-parent">
|
|
|
|
<div class="user-name-section inline-block">
|
2024-03-20 15:33:26 +01:00
|
|
|
<label for="full_name" class="settings-field-label inline-block">{{t "Name" }}</label>
|
2021-06-17 18:42:31 +02:00
|
|
|
<div class="alert-notification full-name-status"></div>
|
2024-03-19 21:45:43 +01:00
|
|
|
<div class="settings-profile-user-field-hint">{{t "How your account is displayed in Zulip." }}</div>
|
2023-01-25 18:50:46 +01:00
|
|
|
<div id="full_name_input_container" {{#unless user_can_change_name}}class="disabled_setting_tooltip"{{/unless}}>
|
2024-02-13 02:08:16 +01:00
|
|
|
<input id="full_name" name="full_name" class="settings_text_input" type="text" value="{{ current_user.full_name }}" {{#unless user_can_change_name}}disabled="disabled"{{/unless}} maxlength="60" />
|
2021-06-17 18:42:31 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-09-13 14:12:32 +02:00
|
|
|
</div>
|
2021-06-30 19:48:43 +02:00
|
|
|
|
2023-01-10 11:33:08 +01:00
|
|
|
<form class="timezone-setting-form">
|
2021-06-30 19:46:27 +02:00
|
|
|
<div class="input-group grid">
|
2024-03-20 15:33:26 +01:00
|
|
|
<label for="timezone" class="settings-field-label inline-block">{{t "Time zone" }}</label>
|
2021-06-30 19:46:27 +02:00
|
|
|
<div class="alert-notification timezone-setting-status"></div>
|
|
|
|
<div class="timezone-input">
|
2023-02-16 10:57:08 +01:00
|
|
|
<select name="timezone" id="user_timezone" class="bootstrap-focus-style settings_select">
|
2021-08-25 13:03:05 +02:00
|
|
|
{{#unless settings_object.timezone}}
|
2021-06-30 19:46:27 +02:00
|
|
|
<option></option>
|
|
|
|
{{/unless}}
|
|
|
|
|
|
|
|
{{#each timezones}}
|
2021-12-04 15:39:38 +01:00
|
|
|
<option value="{{ this }}">{{ this }}</option>
|
2021-06-30 19:46:27 +02:00
|
|
|
{{/each}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
2021-06-17 18:42:31 +02:00
|
|
|
|
2023-01-10 11:33:08 +01:00
|
|
|
<form class="custom-profile-fields-form grid"></form>
|
2021-06-17 18:42:31 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-02-25 22:00:26 +01:00
|
|
|
|
|
|
|
<div class="profile-side-panel">
|
|
|
|
<div class="inline-block user-avatar-section">
|
|
|
|
{{> image_upload_widget
|
|
|
|
widget = "user-avatar"
|
|
|
|
upload_text = (t "Upload new profile picture")
|
|
|
|
delete_text = (t "Delete profile picture")
|
|
|
|
disabled_text = (t "Avatar changes are disabled in this organization")
|
|
|
|
is_editable_by_current_user = user_can_change_avatar
|
2024-02-13 02:08:16 +01:00
|
|
|
image = current_user.avatar_url_medium}}
|
2022-02-25 22:00:26 +01:00
|
|
|
<div id="user-avatar-source">
|
|
|
|
<a href="https://en.gravatar.com/" target="_blank" rel="noopener noreferrer">{{t "Avatar from Gravatar" }}</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="user-details">
|
|
|
|
<div class="input-group">
|
|
|
|
<span class="user-details-title">{{t "Role" }}:</span>
|
|
|
|
<span class="user-details-desc">{{user_role_text}}</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="input-group">
|
|
|
|
<span class="user-details-title">{{t "Joined" }}: </span>
|
|
|
|
<span class="user-details-desc">{{date_joined_text}}</span>
|
|
|
|
</div>
|
2021-06-17 18:42:31 +02:00
|
|
|
</div>
|
2022-11-07 23:35:23 +01:00
|
|
|
<button class="button rounded sea-green w-200 block" id="show_my_user_profile_modal">
|
|
|
|
{{t 'Preview profile' }}
|
2024-01-26 15:53:38 +01:00
|
|
|
<i class="fa fa-external-link" aria-hidden="true"></i>
|
2022-11-07 23:35:23 +01:00
|
|
|
</button>
|
2021-06-17 18:42:31 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|