Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

1.1 KB
Raw Blame
<div class="empty_feed_notice">
    <h4 class="empty-feed-notice-title"> {{#if title_html}}{{{ title_html }}}{{else}}{{ title }}{{/if}} </h4>
    {{#if search_data}}
        {{#if search_data.has_stop_word}}
        <div class="empty-feed-notice-description">
            {{t "Common words were excluded from your search:" }} <br/>
            {{#each search_data.query_words}}
                {{#if is_stop_word}}
                <del>{{query_word}}</del>
                {{else}}
                <span class="search-query-word">{{query_word}}</span>
                {{/if}}
            {{/each}}
        </div>
        {{/if}}
    {{else if notice_html}}
        <div class="empty-feed-notice-description">
            {{{ notice_html }}}
        </div>
    {{/if}}
    {{#if show_action}}
    <div class="empty-feed-notice-action">
        <button
          class="search-shared-history hidden-for-spectators action-button action-button-subtle-neutral"
          type="button">
            {{t 'Search all public channels'}}
        </button>
    </div>
    {{/if}}
</div>