Add info about more results to full-page search frontend.

This commit is contained in:
Jakub Macina 2017-07-21 09:35:04 +02:00
parent e5ee4ccc48
commit 44bd8f3837
2 changed files with 8 additions and 3 deletions

View File

@ -125,9 +125,13 @@
{{/each}} {{/each}}
{{#if hasResults}} {{#if hasResults}}
<h3 class="search-footer"> <h3 class="search-footer">
{{i18n "search.no_more_results"}} {{#if model.grouped_search_result.more_full_page_results}}
</h3> {{i18n "search.more_results"}}
{{else}}
{{i18n "search.no_more_results"}}
{{/if}}
</h3>
{{/if}} {{/if}}
{{/conditional-loading-spinner}} {{/conditional-loading-spinner}}

View File

@ -1321,6 +1321,7 @@ en:
searching: "Searching ..." searching: "Searching ..."
post_format: "#{{post_number}} by {{username}}" post_format: "#{{post_number}} by {{username}}"
results_page: "Search Results" results_page: "Search Results"
more_results: "There are more results. Please narrow your search criteria."
context: context:
user: "Search posts by @{{username}}" user: "Search posts by @{{username}}"