zulip/web/templates/presence_row.hbs

25 lines
1.2 KiB
Handlebars
Raw Normal View History

<li data-user-id="{{user_id}}" class="user_sidebar_entry {{#if is_current_user}}user_sidebar_entry_me {{/if}} narrow-filter {{#if faded}} user-fade {{/if}}">
<div class="selectable_sidebar_block">
<span class="{{user_circle_class}} user_circle"></span>
<a class="user-presence-link"
href="{{href}}"
data-user-id="{{user_id}}"
data-name="{{name}}">
{{#if user_list_style.WITH_STATUS}}
<div class="user-name-and-status-wrapper">
<div class="user-name-and-status-emoji">
{{> user_full_name}}
{{> status_emoji status_emoji_info}}
</div>
<span class="status-text">{{status_text}}</span>
</div>
{{else}}
{{> user_full_name}}
{{> status_emoji status_emoji_info}}
{{/if}}
</a>
<span class="unread_count {{#unless num_unread}}hide{{/unless}}">{{#if num_unread}}{{num_unread}}{{/if}}</span>
</div>
<span class="sidebar-menu-icon user-list-sidebar-menu-icon"><i class="zulip-icon zulip-icon-more-vertical" aria-hidden="true"></i></span>
</li>