mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
dropdown_widget: Implement dropdown widget using tippy.
This will soon replace DropdownListWidget.
This commit is contained in:
13
web/templates/dropdown_list.hbs
Normal file
13
web/templates/dropdown_list.hbs
Normal file
@@ -0,0 +1,13 @@
|
||||
{{#with item}}
|
||||
<li class="list-item" role="presentation" data-unique-id="{{unique_id}}" data-name="{{name}}" tabindex="0">
|
||||
<a 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}}
|
Reference in New Issue
Block a user