-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
127 additions
and
70 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{% extends 'adviser/adviser_base.html' %} | ||
|
||
{% block pageTitle %}Search results{% endblock %} | ||
|
||
{%- from 'govuk_frontend_jinja/components/pagination/macro.html' import govukPagination %} | ||
|
||
{% block content %} | ||
<div class="govuk-grid-column-full"> | ||
<div id="google_translate_element" class="govuk-!-margin-bottom-6 govuk-!-display-none-print"></div> | ||
</div> | ||
<div class="govuk-grid-column-full"> | ||
{% if data.count < 1 %} | ||
<h1 class="govuk-heading-xl govuk-!-margin-bottom-5">No search results</h1> | ||
<p class="govuk-body-m" id="no-results-info">There are no results for your criteria.</p> | ||
{% else %} | ||
<h1 class="govuk-heading-xl">SINGLE Search results</h1> | ||
{% endif %} | ||
</div> | ||
{% if form.region|string == "Region.SCOTLAND" %} | ||
{% include 'adviser/_scotland_warning.html' %} | ||
{% endif %} | ||
<div class="govuk-grid-column-two-thirds"> | ||
<div class="laa-fala__grey-box govuk-!-margin-bottom-6"> | ||
<ul class="govuk-list" role="list"> | ||
{% if form.postcode.value() %} | ||
<li class="govuk-body" role="listitem">Postcode:<span class="notranslate"> {{ form.postcode.value() }}</span></li> | ||
{% endif %} | ||
{% if form|category_selection %} | ||
<li class="govuk-body" role="listitem">Category:<span class="notranslate"> {{ form|category_selection }}</span></li> | ||
{% endif %} | ||
</ul> | ||
</div> | ||
</div> | ||
{% if data.paginator.num_pages > 1 %} | ||
{{ govukPagination({ | ||
"previous": { | ||
"href": data.previous_page_url, | ||
"text": "Previous" | ||
}, | ||
"next": { | ||
"href": data.next_page_url, | ||
"text": "Next" | ||
} | ||
}) }} | ||
{% endif %} | ||
{% endblock %} |
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