zulip/web/templates/empty_feed_notice.hbs

24 lines
877 B
Handlebars

<div class="empty_feed_notice">
<h4 class="empty-feed-notice-title"> {{ title }} </h4>
<div class="empty-feed-notice-description">
{{#if search_data}}
{{#if search_data.has_stop_word}}{{t "Some common words were excluded from your search." }} <br/>{{/if}}{{t "You searched for:" }}
{{#if search_data.stream_query}}
<span>stream: {{search_data.stream_query}}</span>
{{/if}}
{{#if search_data.topic_query}}
<span>topic: {{search_data.topic_query}}</span>
{{/if}}
{{#each search_data.query_words}}
{{#if is_stop_word}}
<del>{{query_word}}</del>
{{else}}
<span>{{query_word}}</span>
{{/if}}
{{/each}}
{{else}}
{{{ html }}}
{{/if}}
</div>
</div>