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>
|
|
|
|
|
2017-10-14 00:33:36 +02:00
|
|
|
{{#if is_active }}
|
2018-03-12 20:23:49 +01:00
|
|
|
<li class="user_popover_email">
|
2018-02-03 17:38:35 +01:00
|
|
|
<i class="fa fa-clone hide_copy_icon" data-clipboard-text="{{ user_email }}"></i>
|
2017-12-07 15:47:23 +01:00
|
|
|
{{ user_email }}
|
|
|
|
<div class="tooltip_holder">
|
|
|
|
<span class="email_tooltip">{{ user_email }}</span>
|
|
|
|
</div>
|
|
|
|
</li>
|
2017-10-14 00:33:36 +02:00
|
|
|
{{else}}
|
2018-03-12 20:23:49 +01: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
|
|
|
|
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
|
|
|
|
|
|
|
<li>{{ user_type }}</li>
|
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">
|
|
|
|
{{status_text}}
|
|
|
|
</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}}
|
|
|
|
{{#if is_me}}
|
2017-02-15 21:07:21 +01:00
|
|
|
<li>
|
2017-12-13 21:54:17 +01:00
|
|
|
<a href="/#settings/your-account">
|
2018-07-04 02:39:08 +02:00
|
|
|
<i class="fa fa-edit" aria-hidden="true"></i> {{#tr this}}Edit your profile{{/tr}}
|
2017-02-15 21:07:21 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2017-10-14 00:33:36 +02:00
|
|
|
{{/if}}
|
2017-12-13 21:54:17 +01:00
|
|
|
{{#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}}
|
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>
|