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}}
|
|
|
|
<i class="zulip-icon bot" aria-hidden="true"></i>
|
|
|
|
{{else}}
|
2019-02-17 02:10:42 +01:00
|
|
|
<span class="{{user_circle_class}} user_circle popover_user_presence" title="{{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}}
|
|
|
|
<li class="user_popover_email">
|
|
|
|
<i class="fa fa-clone hide_copy_icon" data-clipboard-text="{{ user_email }}"></i>
|
|
|
|
{{ user_email }}
|
|
|
|
<div class="tooltip_holder">
|
|
|
|
<span class="email_tooltip">{{ user_email }}</span>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2017-10-14 00:33:36 +02:00
|
|
|
{{else}}
|
2019-04-20 18:08:29 +02:00
|
|
|
<li class="user_popover_email half-opacity italic">{{#tr this}}(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}}
|
|
|
|
<li>{{ user_time }} {{#tr this}}Local time{{/tr}}</li>
|
|
|
|
{{/if}}
|
2018-11-02 19:45:32 +01:00
|
|
|
|
2019-05-29 05:59:53 +02:00
|
|
|
{{#if is_bot}}
|
|
|
|
{{#if bot_owner}}
|
|
|
|
<li>{{#tr this}}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}}
|
|
|
|
{{#if is_cross_realm_bot}}
|
|
|
|
<li>{{#tr this}}System bot{{/tr}}</li>
|
|
|
|
{{else}}
|
|
|
|
<li>{{#tr this}}Bot{{/tr}}</li>
|
|
|
|
{{/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}}
|
2020-04-19 12:52:45 +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">
|
2019-02-14 10:14:35 +01:00
|
|
|
<i class="fa fa-minus-circle" aria-hidden="true"></i> {{#tr this}}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">
|
2019-02-14 10:14:35 +01:00
|
|
|
<i class="fa fa-minus-circle" aria-hidden="true"></i> {{#tr this}}Set yourself as active{{/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}}
|
|
|
|
{{#tr this}}Edit status message{{/tr}}
|
|
|
|
{{else}}
|
|
|
|
{{#tr this}}Set a status message{{/tr}}
|
|
|
|
{{/if}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#if status_text}}
|
2020-04-19 12:52:45 +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}}
|
2020-08-02 16:00:37 +02:00
|
|
|
{{#if is_me}}(<a tabindex="0" class="clear_status">{{#tr this}}clear{{/tr}}</a>){{/if}}
|
2019-02-23 00:46:51 +01:00
|
|
|
</span>
|
2019-02-05 22:12:31 +01:00
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
|
2020-04-19 12:52:45 +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}}
|
|
|
|
<i class="fa fa-user" aria-hidden="true"></i> {{#tr this}}View your profile{{/tr}}
|
|
|
|
{{else}}
|
2019-02-16 18:46:05 +01:00
|
|
|
<i class="fa fa-user" aria-hidden="true"></i> {{#tr this}}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 }}">
|
2018-02-17 13:02:10 +01:00
|
|
|
<i class="fa fa-envelope" aria-hidden="true"></i> {{#tr this}}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>
|
|
|
|
{{#tr this}}Reply mentioning user{{/tr}}
|
|
|
|
{{#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>
|
|
|
|
{{#tr this}}Copy mention syntax{{/tr}}
|
|
|
|
{{#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>
|
|
|
|
<a href="/#settings/your-account">
|
|
|
|
<i class="fa fa-edit" aria-hidden="true"></i> {{#tr this}}Edit your profile{{/tr}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2020-04-19 12:52:45 +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}}
|
|
|
|
{{#tr this}}View private messages to myself{{/tr}}
|
|
|
|
{{else}}
|
|
|
|
{{#tr this}}View private messages{{/tr}}
|
|
|
|
{{/if}}
|
2017-02-15 21:07:21 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="{{ sent_by_uri }}" class="narrow_to_messages_sent">
|
2020-04-22 18:48:54 +02:00
|
|
|
<i class="fa fa-paper-plane" aria-hidden="true"></i> {{#tr this}}View messages sent{{/tr}}
|
2017-02-15 21:07:21 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2013-07-11 23:06:58 +02:00
|
|
|
</ul>
|