2023-10-13 00:45:23 +02:00
|
|
|
<div class="navbar-dropdown-menu" id="personal-menu-dropdown" data-simplebar>
|
2023-10-13 00:46:49 +02:00
|
|
|
<nav class="personal-menu-nav">
|
2023-07-17 18:01:16 +02:00
|
|
|
<header class="personal-menu-header">
|
|
|
|
<div class="avatar">
|
|
|
|
<img class="avatar-image{{#if user_is_guest}} guest-avatar{{/if}}" src="{{user_avatar}}"/>
|
|
|
|
|
|
|
|
{{#if is_active }}
|
|
|
|
<span class="status-circle {{user_circle_class}} user_circle hidden-for-spectators" data-tippy-placement="bottom" data-tippy-content="{{user_last_seen_time_status}}"></span>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="text-area">
|
|
|
|
<p class="full-name">{{user_full_name}}</p>
|
|
|
|
<p class="user-type">{{user_type}}</p>
|
|
|
|
</div>
|
|
|
|
</header>
|
2023-10-13 00:58:56 +02:00
|
|
|
<section class="dropdown-menu-list-section personal-menu-actions" data-user-id="{{user_id}}">
|
2023-10-18 08:40:37 +02:00
|
|
|
<ul class="navbar-dropdown-menu-outer-list">
|
2023-12-12 20:10:07 +01:00
|
|
|
{{#if user_time}}
|
2023-10-19 20:44:47 +02:00
|
|
|
<li class="navbar-dropdown-menu-outer-list-item">
|
2023-10-18 08:40:37 +02:00
|
|
|
<ul class="navbar-dropdown-menu-inner-list">
|
2023-10-19 20:44:47 +02:00
|
|
|
<li class="text-item hidden-for-spectators navbar-dropdown-menu-inner-list-item">
|
|
|
|
<i class="navbar-dropdown-icon zulip-icon zulip-icon-clock"></i>
|
2023-10-18 08:40:37 +02:00
|
|
|
{{#tr}}{user_time} local time{{/tr}}
|
|
|
|
</li>
|
|
|
|
</ul>
|
2023-07-17 18:01:16 +02:00
|
|
|
</li>
|
2023-12-12 20:10:07 +01:00
|
|
|
{{/if}}
|
2023-10-19 20:44:47 +02:00
|
|
|
<li class="navbar-dropdown-menu-outer-list-item">
|
2023-10-18 08:40:37 +02:00
|
|
|
<ul class="navbar-dropdown-menu-inner-list">
|
|
|
|
{{#if status_content_available}}
|
2023-10-19 20:44:47 +02:00
|
|
|
<li class="text-item navbar-dropdown-menu-inner-list-item">
|
2023-10-25 11:52:32 +02:00
|
|
|
<span class="personal-menu-status-wrapper">
|
2023-10-18 08:40:37 +02:00
|
|
|
{{#if status_emoji_info}}
|
|
|
|
{{#if status_emoji_info.emoji_alt_code}}
|
|
|
|
<span class="emoji_alt_code"> :{{status_emoji_info.emoji_name}}:</span>
|
|
|
|
{{else if status_emoji_info.url}}
|
|
|
|
<img src="{{status_emoji_info.url}}" class="emoji status_emoji" />
|
|
|
|
{{else}}
|
|
|
|
<span class="emoji status_emoji emoji-{{status_emoji_info.emoji_code}}"></span>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
2023-11-01 07:09:03 +01:00
|
|
|
<span class="status_text personal-menu-status-text">
|
2023-10-25 11:52:32 +02:00
|
|
|
{{#if show_placeholder_for_status_text}}
|
2023-11-01 07:09:03 +01:00
|
|
|
<i class="personal-menu-no-status-text">{{t "No status text"}}</i>
|
2023-10-25 11:52:32 +02:00
|
|
|
{{else}}
|
|
|
|
{{status_text}}
|
|
|
|
{{/if}}
|
2023-10-18 08:40:37 +02:00
|
|
|
</span>
|
|
|
|
</span>
|
2024-01-21 11:56:59 +01:00
|
|
|
<a tabindex="0" class="personal-menu-clear-status navbar-dropdown-menu-link" aria-label="{{t 'Clear status'}}" data-tippy-content="{{t 'Clear your status' }}">
|
2023-10-23 09:22:47 +02:00
|
|
|
<i class="personal-menu-clear-status-icon navbar-dropdown-icon zulip-icon zulip-icon-x-circle"></i>
|
2023-10-18 08:40:37 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
2023-10-19 20:44:47 +02:00
|
|
|
<li class="link-item navbar-dropdown-menu-inner-list-item">
|
2024-01-21 11:56:59 +01:00
|
|
|
<a tabindex="0" class="update_status_text navbar-dropdown-menu-link">
|
2023-11-22 08:25:31 +01:00
|
|
|
<i class="navbar-dropdown-icon zulip-icon zulip-icon-smile-smaller"></i>
|
2023-10-18 08:40:37 +02:00
|
|
|
{{#tr}}Edit status{{/tr}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{else}}
|
2023-10-19 20:44:47 +02:00
|
|
|
<li class="link-item hidden-for-spectators navbar-dropdown-menu-inner-list-item">
|
2024-01-21 11:56:59 +01:00
|
|
|
<a tabindex="0" class="update_status_text navbar-dropdown-menu-link">
|
2023-11-22 08:25:31 +01:00
|
|
|
<i class="navbar-dropdown-icon zulip-icon zulip-icon-smile-smaller"></i>
|
2023-10-18 08:40:37 +02:00
|
|
|
{{#tr}}Set status{{/tr}}
|
|
|
|
</a>
|
|
|
|
</li>
|
2023-07-17 18:01:16 +02:00
|
|
|
{{/if}}
|
|
|
|
|
2023-10-18 08:40:37 +02:00
|
|
|
{{#if invisible_mode}}
|
2023-10-19 20:44:47 +02:00
|
|
|
<li class="link-item hidden-for-spectators navbar-dropdown-menu-inner-list-item">
|
2024-01-21 11:56:59 +01:00
|
|
|
<a tabindex="0" class="invisible_mode_turn_off navbar-dropdown-menu-link">
|
2023-10-19 20:44:47 +02:00
|
|
|
<i class="navbar-dropdown-icon zulip-icon zulip-icon-play-circle"></i>
|
2023-10-18 08:40:37 +02:00
|
|
|
{{#tr}}Turn off invisible mode{{/tr}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{else}}
|
2023-10-19 20:44:47 +02:00
|
|
|
<li class="link-item hidden-for-spectators navbar-dropdown-menu-inner-list-item">
|
2024-01-21 11:56:59 +01:00
|
|
|
<a tabindex="0" class="invisible_mode_turn_on navbar-dropdown-menu-link">
|
2023-10-19 20:44:47 +02:00
|
|
|
<i class="navbar-dropdown-icon zulip-icon zulip-icon-stop-circle"></i>
|
2023-10-18 08:40:37 +02:00
|
|
|
{{#tr}}Go invisible{{/tr}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
</ul>
|
2023-07-17 18:01:16 +02:00
|
|
|
</li>
|
2023-10-19 20:44:47 +02:00
|
|
|
<li class="navbar-dropdown-menu-outer-list-item">
|
2023-10-18 08:40:37 +02:00
|
|
|
<ul class="navbar-dropdown-menu-inner-list">
|
2023-10-19 20:44:47 +02:00
|
|
|
<li class="link-item navbar-dropdown-menu-inner-list-item">
|
|
|
|
<a tabindex="0" class="view_full_user_profile navbar-dropdown-menu-link">
|
|
|
|
<i class="navbar-dropdown-icon zulip-icon zulip-icon-account"></i>
|
2023-10-18 08:40:37 +02:00
|
|
|
{{#tr}}View your profile{{/tr}}
|
|
|
|
</a>
|
|
|
|
</li>
|
2023-10-19 20:44:47 +02:00
|
|
|
<li class="link-item navbar-dropdown-menu-inner-list-item">
|
2024-01-21 11:56:59 +01:00
|
|
|
<a tabindex="0" class="narrow-self-direct-message navbar-dropdown-menu-link">
|
2023-10-19 20:44:47 +02:00
|
|
|
<i class="navbar-dropdown-icon zulip-icon zulip-icon-users"></i>
|
2023-10-18 08:40:37 +02:00
|
|
|
{{#tr}}View messages with yourself{{/tr}}
|
|
|
|
</a>
|
|
|
|
</li>
|
2023-10-19 20:44:47 +02:00
|
|
|
<li class="link-item navbar-dropdown-menu-inner-list-item">
|
2024-01-21 11:56:59 +01:00
|
|
|
<a tabindex="0" class="narrow-messages-sent navbar-dropdown-menu-link">
|
2023-10-19 20:44:47 +02:00
|
|
|
<i class="navbar-dropdown-icon zulip-icon zulip-icon-message-square"></i>
|
2023-10-18 08:40:37 +02:00
|
|
|
{{#tr}}View messages sent{{/tr}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2023-07-17 18:01:16 +02:00
|
|
|
</li>
|
2023-10-19 20:44:47 +02:00
|
|
|
<li class="navbar-dropdown-menu-outer-list-item">
|
2023-10-18 08:40:37 +02:00
|
|
|
<ul class="navbar-dropdown-menu-inner-list">
|
2023-10-19 20:44:47 +02:00
|
|
|
<li class="link-item navbar-dropdown-menu-inner-list-item">
|
|
|
|
<a href="#settings/profile" class="open-profile-settings navbar-dropdown-menu-link">
|
|
|
|
<i class="navbar-dropdown-icon zulip-icon zulip-icon-tool"></i>
|
2023-10-18 08:40:37 +02:00
|
|
|
{{#tr}}Settings{{/tr}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2023-07-17 18:01:16 +02:00
|
|
|
</li>
|
2023-10-19 20:44:47 +02:00
|
|
|
<li class="navbar-dropdown-menu-outer-list-item">
|
2023-10-18 08:40:37 +02:00
|
|
|
<ul class="navbar-dropdown-menu-inner-list">
|
2023-10-19 20:44:47 +02:00
|
|
|
<li class="link-item navbar-dropdown-menu-inner-list-item">
|
|
|
|
<a class="logout_button hidden-for-spectators navbar-dropdown-menu-link" tabindex="0">
|
2023-12-04 18:57:47 +01:00
|
|
|
<i class="navbar-dropdown-icon zulip-icon zulip-icon-log-out" aria-hidden="true"></i>
|
2023-10-18 08:40:37 +02:00
|
|
|
{{t 'Log out' }}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2023-07-17 18:01:16 +02:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
</nav>
|
|
|
|
</div>
|