zulip/web/templates/pm_list_item.hbs

21 lines
1002 B
Handlebars

<li class="{{#if is_active}}active-sub-filter{{/if}} {{#if is_zero}}zero-dm-unreads{{/if}} dm-list-item bottom_left_row" data-user-ids-string="{{user_ids_string}}">
<div class="dm-box dm-user-status" data-user-ids-string="{{user_ids_string}}" data-is-group="{{is_group}}">
{{#if is_group}}
<span class="conversation-partners-icon zulip-icon zulip-icon-triple-users"></span>
{{else if is_bot}}
<span class="conversation-partners-icon zulip-icon zulip-icon-bot" aria-hidden="true"></span>
{{else}}
<span class="conversation-partners-icon zulip-icon zulip-icon-user-status {{user_circle_class}} user_circle"></span>
{{/if}}
<a href="{{url}}" class="conversation-partners">
<span class="conversation-partners-list">{{recipients}}</span>
{{> status_emoji status_emoji_info}}
</a>
<span class="unread_count {{#if is_zero}}zero_count{{/if}}">
{{unread}}
</span>
</div>
</li>