2023-05-07 14:42:54 +02:00
|
|
|
{{#with item}}
|
|
|
|
<li class="list-item" role="presentation" data-unique-id="{{unique_id}}" data-name="{{name}}" tabindex="0">
|
2023-11-22 20:13:38 +01:00
|
|
|
{{#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}}
|
2023-10-14 02:02:31 +02:00
|
|
|
<a class="dropdown-list-item-common-styles">
|
2023-05-07 14:42:54 +02:00
|
|
|
{{#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}}
|
2023-07-19 16:09:53 +02:00
|
|
|
{{else if is_setting_disabled}}
|
2024-09-02 19:06:38 +02:00
|
|
|
<span class="setting-disabled-option"><i class="setting-disabled-option-icon fa fa-ban" aria-hidden="true"></i>{{t "Disable" }}</span>
|
2023-05-07 14:42:54 +02:00
|
|
|
{{else}}
|
2023-11-10 02:45:45 +01:00
|
|
|
{{#if bold_current_selection}}
|
|
|
|
<span class="dropdown-list-bold-selected">{{name}}</span>
|
|
|
|
{{else}}
|
|
|
|
{{name}}
|
|
|
|
{{/if}}
|
2023-05-07 14:42:54 +02:00
|
|
|
{{/if}}
|
|
|
|
</a>
|
2023-11-22 20:13:38 +01:00
|
|
|
{{/if}}
|
2023-05-07 14:42:54 +02:00
|
|
|
</li>
|
|
|
|
{{/with}}
|