2013-07-11 23:06:58 +02:00
|
|
|
{{! Contents of the "message info" popup }}
|
2018-02-27 20:40:07 +01:00
|
|
|
<ul class="nav nav-list actions_popover info_popover_actions" data-user-id="{{user_id}}">
|
2017-02-15 21:07:21 +01:00
|
|
|
<div class="popover_info">
|
2019-02-17 02:10:42 +01:00
|
|
|
<li>
|
2017-05-12 20:17:17 +02:00
|
|
|
<b>{{user_full_name}}</b>
|
2017-10-14 00:33:36 +02:00
|
|
|
{{#if is_active }}
|
2017-10-16 05:40:09 +02:00
|
|
|
{{#if is_bot}}
|
2021-04-29 02:13:54 +02:00
|
|
|
<i class="zulip-icon zulip-icon-bot" aria-hidden="true"></i>
|
2017-10-16 05:40:09 +02:00
|
|
|
{{else}}
|
2021-07-07 06:49:36 +02:00
|
|
|
<span class="{{user_circle_class}} user_circle popover_user_presence tippy-zulip-tooltip" data-tippy-content="{{user_last_seen_time_status}}"></span>
|
2017-10-16 05:40:09 +02:00
|
|
|
{{/if}}
|
2017-10-14 00:33:36 +02:00
|
|
|
{{/if}}
|
2017-05-12 20:17:17 +02:00
|
|
|
</li>
|
|
|
|
|
2019-04-20 18:08:29 +02:00
|
|
|
|
2017-10-14 00:33:36 +02:00
|
|
|
{{#if is_active }}
|
2019-04-20 18:08:29 +02:00
|
|
|
{{#if show_email}}
|
2021-07-09 09:02:58 +02:00
|
|
|
{{!-- This div is added to enable interactivity for tooltip - https://atomiks.github.io/tippyjs/v5/accessibility/#interactivity --}}
|
|
|
|
<div>
|
|
|
|
<li class="user_popover_email">
|
|
|
|
<i class="fa fa-clone hide_copy_icon" data-clipboard-text="{{ user_email }}"></i>
|
|
|
|
{{ user_email }}
|
|
|
|
</li>
|
|
|
|
</div>
|
2019-04-20 18:08:29 +02:00
|
|
|
{{/if}}
|
2017-10-14 00:33:36 +02:00
|
|
|
{{else}}
|
2021-04-14 03:04:02 +02:00
|
|
|
<li class="user_popover_email half-opacity italic">{{#tr}}(This user has been deactivated){{/tr}}</li>
|
2017-10-14 00:33:36 +02:00
|
|
|
{{/if}}
|
2013-07-11 23:06:58 +02:00
|
|
|
|
2019-04-20 18:08:29 +02:00
|
|
|
|
2017-04-02 21:01:58 +02:00
|
|
|
{{#if user_time}}
|
2021-04-14 03:04:02 +02:00
|
|
|
<li>{{ user_time }} {{#tr}}Local time{{/tr}}</li>
|
2017-04-02 21:01:58 +02:00
|
|
|
{{/if}}
|
2018-11-02 19:45:32 +01:00
|
|
|
|
2019-05-29 05:59:53 +02:00
|
|
|
{{#if is_bot}}
|
|
|
|
{{#if bot_owner}}
|
2021-04-14 03:04:02 +02:00
|
|
|
<li>{{#tr}}Owner{{/tr}}:
|
2020-09-19 15:15:44 +02:00
|
|
|
<span class="bot-owner-name view_user_profile" data-user-id='{{ bot_owner.user_id }}'>
|
2019-05-29 05:59:53 +02:00
|
|
|
{{bot_owner.full_name}}
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
{{else}}
|
2021-03-07 15:51:55 +01:00
|
|
|
{{#if is_system_bot}}
|
2021-04-14 03:04:02 +02:00
|
|
|
<li>{{#tr}}System bot{{/tr}}</li>
|
2019-05-29 05:59:53 +02:00
|
|
|
{{else}}
|
2021-04-14 03:04:02 +02:00
|
|
|
<li>{{#tr}}Bot{{/tr}}</li>
|
2019-05-29 05:59:53 +02:00
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{else}}
|
|
|
|
<li>{{ user_type }}</li>
|
|
|
|
{{/if}}
|
2017-02-15 21:07:21 +01:00
|
|
|
</div>
|
2019-02-05 22:12:31 +01:00
|
|
|
|
|
|
|
{{#if is_me}}
|
2021-04-21 00:46:14 +02:00
|
|
|
<hr />
|
2019-02-05 22:12:31 +01:00
|
|
|
{{#if can_set_away}}
|
|
|
|
<li>
|
2020-08-02 16:00:37 +02:00
|
|
|
<a tabindex="0" class="set_away_status">
|
2021-04-14 03:04:02 +02:00
|
|
|
<i class="fa fa-minus-circle" aria-hidden="true"></i> {{#tr}}Set yourself as unavailable{{/tr}}
|
2019-02-05 22:12:31 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if can_revoke_away}}
|
|
|
|
<li>
|
2020-08-02 16:00:37 +02:00
|
|
|
<a tabindex="0" class="revoke_away_status">
|
2021-06-08 21:04:48 +02:00
|
|
|
<i class="fa fa-minus-circle" aria-hidden="true"></i> {{#tr}}Set yourself as available{{/tr}}
|
2019-02-05 22:12:31 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
<li>
|
2020-08-02 16:00:37 +02:00
|
|
|
<a tabindex="0" class="update_status_text">
|
2019-02-05 22:12:31 +01:00
|
|
|
<i class="fa fa-comments" aria-hidden="true"></i>
|
|
|
|
{{#if status_text}}
|
2021-06-29 18:08:29 +02:00
|
|
|
{{#tr}}Edit status{{/tr}}
|
2019-02-05 22:12:31 +01:00
|
|
|
{{else}}
|
2021-06-29 18:08:29 +02:00
|
|
|
{{#tr}}Set a status{{/tr}}
|
2019-02-05 22:12:31 +01:00
|
|
|
{{/if}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
|
2021-06-29 17:21:30 +02:00
|
|
|
{{#if status_content_available}}
|
2021-04-21 00:46:14 +02:00
|
|
|
{{#unless is_me}}<hr />{{/unless}}
|
2019-02-05 22:12:31 +01:00
|
|
|
<li class="user_info_status_text">
|
2019-02-23 00:46:51 +01:00
|
|
|
<span id="status_message">
|
|
|
|
{{status_text}}
|
2021-06-29 17:21:30 +02:00
|
|
|
{{#if status_emoji_info.emoji_alt_code}}
|
|
|
|
<div class="emoji_alt_code"> :{{status_emoji_info.emoji_name}}:</div>
|
|
|
|
{{else}}
|
|
|
|
{{#if status_emoji_info.url}}
|
|
|
|
<img src="{{status_emoji_info.url}}" class="emoji status_emoji" />
|
|
|
|
{{else}}
|
|
|
|
<div class="emoji status_emoji emoji-{{status_emoji_info.emoji_code}}"></div>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
2021-04-14 03:04:02 +02:00
|
|
|
{{#if is_me}}(<a tabindex="0" class="clear_status">{{#tr}}clear{{/tr}}</a>){{/if}}
|
2019-02-23 00:46:51 +01:00
|
|
|
</span>
|
2019-02-05 22:12:31 +01:00
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
|
2021-04-21 00:46:14 +02:00
|
|
|
<hr />
|
2018-04-23 20:41:35 +02:00
|
|
|
{{#if show_user_profile}}
|
|
|
|
<li>
|
2020-09-19 15:15:44 +02:00
|
|
|
<a tabindex="0" class="view_full_user_profile">
|
2018-04-23 20:41:35 +02:00
|
|
|
{{#if is_me}}
|
2021-04-14 03:04:02 +02:00
|
|
|
<i class="fa fa-user" aria-hidden="true"></i> {{#tr}}View your profile{{/tr}}
|
2018-04-23 20:41:35 +02:00
|
|
|
{{else}}
|
2021-04-14 03:04:02 +02:00
|
|
|
<i class="fa fa-user" aria-hidden="true"></i> {{#tr}}View full profile{{/tr}}
|
2018-04-23 20:41:35 +02:00
|
|
|
{{/if}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2017-12-13 21:54:17 +01:00
|
|
|
{{#if is_active}}
|
|
|
|
{{#unless is_me}}
|
|
|
|
<li>
|
2020-08-02 16:00:37 +02:00
|
|
|
<a tabindex="0" class="{{ private_message_class }}">
|
2021-04-14 03:04:02 +02:00
|
|
|
<i class="fa fa-envelope" aria-hidden="true"></i> {{#tr}}Send private message{{/tr}} {{#if is_sender_popover}}<span class="hotkey-hint">(R)</span>{{/if}}
|
2017-12-13 21:54:17 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/unless}}
|
|
|
|
{{/if}}
|
|
|
|
{{#unless is_me}}
|
2017-03-25 18:48:28 +01:00
|
|
|
<li>
|
2020-06-27 21:33:09 +02:00
|
|
|
{{#if has_message_context}}
|
2020-08-02 16:00:37 +02:00
|
|
|
<a tabindex="0" class="mention_user">
|
2020-06-27 21:33:09 +02:00
|
|
|
<i class="fa fa-at" aria-hidden="true"></i>
|
2021-04-14 03:04:02 +02:00
|
|
|
{{#tr}}Reply mentioning user{{/tr}}
|
2020-06-27 21:33:09 +02:00
|
|
|
{{#if is_sender_popover}}<span class="hotkey-hint">(@)</span>{{/if}}
|
2017-03-25 18:48:28 +01:00
|
|
|
</a>
|
2020-06-27 21:33:09 +02:00
|
|
|
{{else}}
|
|
|
|
<a tabindex="0" class="copy_mention_syntax" data-clipboard-text="{{ user_mention_syntax }}">
|
|
|
|
<i class="fa fa-at" aria-hidden="true"></i>
|
2021-04-14 03:04:02 +02:00
|
|
|
{{#tr}}Copy mention syntax{{/tr}}
|
2020-06-27 21:33:09 +02:00
|
|
|
{{#if is_sender_popover}}<span class="hotkey-hint">(@)</span>{{/if}}
|
|
|
|
</a>
|
|
|
|
{{/if}}
|
2017-03-25 18:48:28 +01:00
|
|
|
</li>
|
2017-12-13 21:54:17 +01:00
|
|
|
{{/unless}}
|
2019-03-07 04:49:45 +01:00
|
|
|
{{#if is_me}}
|
|
|
|
<li>
|
2021-06-17 18:42:31 +02:00
|
|
|
<a href="/#settings/profile">
|
2021-04-14 03:04:02 +02:00
|
|
|
<i class="fa fa-edit" aria-hidden="true"></i> {{#tr}}Edit your profile{{/tr}}
|
2019-03-07 04:49:45 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2021-04-21 00:46:14 +02:00
|
|
|
<hr />
|
2017-02-15 21:07:21 +01:00
|
|
|
<li>
|
|
|
|
<a href="{{ pm_with_uri }}" class="narrow_to_private_messages">
|
2018-12-21 19:56:51 +01:00
|
|
|
<i class="fa fa-lock" aria-hidden="true"></i>
|
|
|
|
{{#if is_me}}
|
2021-04-14 03:04:02 +02:00
|
|
|
{{#tr}}View private messages to myself{{/tr}}
|
2018-12-21 19:56:51 +01:00
|
|
|
{{else}}
|
2021-04-14 03:04:02 +02:00
|
|
|
{{#tr}}View private messages{{/tr}}
|
2018-12-21 19:56:51 +01:00
|
|
|
{{/if}}
|
2017-02-15 21:07:21 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{{ sent_by_uri }}" class="narrow_to_messages_sent">
|
2021-04-14 03:04:02 +02:00
|
|
|
<i class="fa fa-paper-plane" aria-hidden="true"></i> {{#tr}}View messages sent{{/tr}}
|
2017-02-15 21:07:21 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2021-03-27 13:14:34 +01:00
|
|
|
|
|
|
|
{{#if can_mute }}
|
|
|
|
<hr />
|
|
|
|
<li>
|
|
|
|
<a tabindex="0" class="sidebar-popover-mute-user">
|
|
|
|
<i class="fa fa-eye-slash" aria-hidden="true"></i> {{#tr}}Mute this user{{/tr}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if can_unmute}}
|
|
|
|
<hr />
|
|
|
|
<li>
|
|
|
|
<a tabindex="0" class="sidebar-popover-unmute-user">
|
|
|
|
<i class="fa fa-eye" aria-hidden="true"></i> {{#tr}}Unmute this user{{/tr}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2013-07-11 23:06:58 +02:00
|
|
|
</ul>
|