-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PNI] Search - update basic search behaviour (#7649)
* 7475 - update basic search behaviour * 7476 - update search fields/ranking
- Loading branch information
Showing
11 changed files
with
825 additions
and
553 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 11 additions & 11 deletions
22
network-api/networkapi/wagtailpages/templates/fragments/no_search_results.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{% load i18n static %} | ||
{% load i18n static localization %} | ||
|
||
<div class="container"> | ||
<img class="mb-3 oh-no-face" src="{% static '_images/buyers-guide/faces/oh-no.svg' %}" alt="{% trans "Sad face. No products were found." %}"> | ||
<img class="mb-3 oh-no-face" src="{% static '_images/buyers-guide/faces/oh-no.svg' %}" alt="{% trans "Sad face. No products were found." %}"> | ||
|
||
<h3 class="h3-heading"> | ||
{% trans 'Oh no! We didn’t find that here.' %} | ||
</h3> | ||
<h3 class="h3-heading"> | ||
{% trans 'Oh no! We didn’t find that here.' %} | ||
</h3> | ||
|
||
<p class="mb-0"> | ||
{% url 'buyersguide-home' as home_url %} | ||
{% blocktrans trimmed %} | ||
Try going back to <a href="{{ home_url }}" class="go-back-to-all-link">All</a>. You might find it there. | ||
{% endblocktrans %} | ||
</p> | ||
<p class="mb-0"> | ||
{% relocalized_url home_page.localized.url as home_url %} | ||
{% blocktrans trimmed with home_url=home_url %} | ||
Try going back to <a href="{{home_url}}" class="go-back-to-all-link">All</a>. You might find it there. | ||
{% endblocktrans %} | ||
</p> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.