2024-09-10 18:30:14 +02:00
|
|
|
<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}}{{#if stream_id}}data-stream-id="{{stream_id}}"{{/if}} tabindex=0>
|
2018-06-27 20:17:04 +02:00
|
|
|
{{#if has_image}}
|
2020-05-13 07:26:30 +02:00
|
|
|
<img class="pill-image" src="{{img_src}}" />
|
2018-06-27 20:17:04 +02:00
|
|
|
{{/if}}
|
2023-09-18 19:13:09 +02:00
|
|
|
<span class="pill-label">
|
2024-07-03 21:13:10 +02:00
|
|
|
<span class="pill-value">
|
|
|
|
{{#if has_stream}}
|
|
|
|
{{~#if stream.invite_only ~}}
|
|
|
|
<i class="zulip-icon zulip-icon-lock stream-privacy-type-icon" aria-hidden="true"></i>
|
|
|
|
{{~ else if stream.is_web_public ~}}
|
|
|
|
<i class="zulip-icon zulip-icon-globe stream-privacy-type-icon" aria-hidden="true"></i>
|
|
|
|
{{~ else ~}}
|
|
|
|
<i class="zulip-icon zulip-icon-hashtag stream-privacy-type-icon" aria-hidden="true"></i>
|
|
|
|
{{~/if~}}
|
|
|
|
{{/if}}
|
|
|
|
{{ display_value }}
|
|
|
|
</span>
|
2023-09-13 19:30:52 +02:00
|
|
|
{{~#if should_add_guest_user_indicator}} <i>({{t 'guest'}})</i>{{~/if~}}
|
|
|
|
{{~#if deactivated}} ({{t 'deactivated'}}){{~/if~}}
|
2022-02-11 22:58:02 +01:00
|
|
|
{{~#if has_status~}}
|
2023-09-18 19:13:09 +02:00
|
|
|
{{~> status_emoji status_emoji_info~}}
|
2022-02-11 22:58:02 +01:00
|
|
|
{{~/if~}}
|
2022-02-05 19:15:30 +01:00
|
|
|
</span>
|
2018-07-11 18:29:48 +02:00
|
|
|
<div class="exit">
|
2024-06-10 02:15:36 +02:00
|
|
|
<a role="button" class="zulip-icon zulip-icon-close pill-close-button"></a>
|
2018-03-31 13:22:29 +02:00
|
|
|
</div>
|
|
|
|
</div>
|