mirror of https://github.com/zulip/zulip.git
17 lines
738 B
Handlebars
17 lines
738 B
Handlebars
<div class='pill {{#if deactivated}} deactivated-pill {{/if}}'{{#if user_id}}data-user-id="{{user_id}}"{{/if}}{{#if group_id}}data-user-group-id="{{group_id}}"{{/if}} tabindex=0>
|
|
{{#if has_image}}
|
|
<img class="pill-image" src="{{img_src}}" />
|
|
{{/if}}
|
|
<span class="pill-label">
|
|
<span class="pill-value">{{ display_value }}</span>
|
|
{{~#if should_add_guest_user_indicator}} <i>({{t 'guest'}})</i>{{~/if~}}
|
|
{{~#if deactivated}} ({{t 'deactivated'}}){{~/if~}}
|
|
{{~#if has_status~}}
|
|
{{~> status_emoji status_emoji_info~}}
|
|
{{~/if~}}
|
|
</span>
|
|
<div class="exit">
|
|
<a role="button" class="zulip-icon zulip-icon-close pill-close-button"></a>
|
|
</div>
|
|
</div>
|