zulip/static/templates/user_presence_row.handlebars

18 lines
776 B
Handlebars

<li data-user-id="{{user_id}}" class="user_sidebar_entry {{#if num_unread}} user-with-count {{/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}}"
title="{{title}}">
{{name}}
{{#if my_user_status}}
<span class="my_user_status">{{my_user_status}}</span>
{{/if}}
</a>
<span class="count"><span class="value">{{#if num_unread}}{{num_unread}}{{/if}}</span></span>
</div>
<span class="arrow"><i class="fa fa-chevron-down" aria-hidden="true"></i></span>
</li>