inbox: Add description to FILTERS dropdown.

This commit is contained in:
Aman Agrawal
2023-11-22 19:13:38 +00:00
committed by Tim Abbott
parent 1e4f938d82
commit 861ac92747
3 changed files with 37 additions and 1 deletions

View File

@@ -1,5 +1,19 @@
{{#with item}}
<li class="list-item" role="presentation" data-unique-id="{{unique_id}}" data-name="{{name}}" tabindex="0">
{{#if description}}
<a class="dropdown-list-item-common-styles">
<span class="dropdown-list-item-name">
{{#if bold_current_selection}}
<span class="dropdown-list-bold-selected">{{name}}</span>
{{else}}
{{name}}
{{/if}}
</span>
<span class="dropdown-list-item-description">
{{description}}
</span>
</a>
{{else}}
<a class="dropdown-list-item-common-styles">
{{#if stream}}
{{> inline_decorated_stream_name stream=stream show_colored_icon=true}}
@@ -15,5 +29,6 @@
{{/if}}
{{/if}}
</a>
{{/if}}
</li>
{{/with}}