Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added empty result text for empty result on upcoming agreement search #1633

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions templates/frameworks/upcoming-list.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,22 @@

<div class="govuk-grid-column-two-thirds">

{% if results|length == 0 %}
<h3>There are no matching results.</h3>
<p class="govuk-!-margin-bottom-0">Improve your search results by:</p>
<ul>
<li><p class="govuk-!-margin-bottom-1">removing filters</p></li>
{% if filters.keyword is defined and filters.keyword|trim is not empty %}
<li><p class="govuk-!-margin-bottom-1">double-checking your spelling</p></li>
<li><p class="govuk-!-margin-bottom-1">using fewer keywords</p></li>
{% endif %}

</ul>
<br>
<p>If you are still unable to find what you need, contact our customer service centre using our <a class="govuk-link" href="/contact">contact us form</a>.</p>

{% endif %}

{% set future_pipeline = [] %}
{% set planned_pipeline = [] %}
{% set underway_pipeline = [] %}
Expand Down