zulip/web/templates/dropdown_list.hbs

14 lines
546 B
Handlebars
Raw Normal View History

{{#with item}}
<li class="list-item" role="presentation" data-unique-id="{{unique_id}}" data-name="{{name}}" tabindex="0">
<a class="dropdown-list-item-common-styles" role="menuitem">
{{#if stream}}
{{> inline_decorated_stream_name stream=stream show_colored_icon=true}}
{{else if is_direct_message}}
<i class="zulip-icon zulip-icon-users stream-privacy-type-icon"></i> {{name}}
{{else}}
{{name}}
{{/if}}
</a>
</li>
{{/with}}