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}}:
|
|
|
|
<span class="bot-owner-name" data-bot-owner-id='{{ bot_owner.user_id }}'>
|
|
|
|
{{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}}
|
|
|
|
<hr />
|
|
|
|
{{#if can_set_away}}
|
|
|
|
<li>
|
|
|
|
<a href="#" 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>
|
|
|
|
<a href="#" 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>
|
|
|
|
<a href="#" class="update_status_text">
|
|
|
|
<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}}
|
|
|
|
{{#unless is_me}}<hr />{{/unless}}
|
|
|
|
<li class="user_info_status_text">
|
2019-02-23 00:46:51 +01:00
|
|
|
<span id="status_message">
|
|
|
|
{{status_text}}
|
|
|
|
{{#if is_me}}(<a href="#" class="clear_status">{{#tr this}}clear{{/tr}}</a>){{/if}}
|
|
|
|
</span>
|
2019-02-05 22:12:31 +01:00
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
|
2017-02-15 21:07:21 +01:00
|
|
|
<hr />
|
2018-04-23 20:41:35 +02:00
|
|
|
{{#if show_user_profile}}
|
|
|
|
<li>
|
|
|
|
<a href="#" class="view_user_profile">
|
|
|
|
{{#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>
|
|
|
|
<a href="#" 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>
|
2018-06-13 02:36:20 +02:00
|
|
|
<a href="#" class="mention_user">
|
2018-02-17 13:02:10 +01: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>
|
|
|
|
</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}}
|
2017-03-25 18:48:28 +01: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">
|
2018-07-04 02:39:08 +02:00
|
|
|
<i class="fa fa-bullhorn" 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>
|