Skip to content

Commit

Permalink
PP-11877 review update
Browse files Browse the repository at this point in the history
  • Loading branch information
olatomgds committed Dec 15, 2023
1 parent 3758ee7 commit bf66983
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/views/transactions/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
{% include "transactions/display-size.njk" %}

{% if (isInvalidDateRange) %}
<p class="govuk-body" id="invalid-date-range">End date must be after start date</p>
<p class="govuk-body" id="invalid-date-range">The from date entered is <strong>{{fromDateParam}}</strong> and the to date entered is <strong>{{toDateParam}}</strong> </p>
<p class="govuk-body" id="invalid-date-range-1">End date must be after start date</p>
<p class="govuk-body" id="invalid-date-range-2">The from date entered is <span class="govuk-body govuk-!-font-weight-bold">{{fromDateParam}}</span> and the to date entered is <span class="govuk-body govuk-!-font-weight-bold">{{toDateParam}}</span> </p>
{% else %}
<h3 class="govuk-heading-s govuk-!-font-weight-regular govuk-!-margin-top-3" id="total-results">
{% if totalOverLimit %}
Expand Down
6 changes: 4 additions & 2 deletions app/views/transactions/list.njk
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@
</tbody>
</table>
{% else %}
{% if (isInvalidDateRange) %}
{% else %}
{% if not isInvalidDateRange %}
<p class="govuk-body" id="no-results">There are no results for the filters you used.</p>
{% endif %}
{% endif %}



0 comments on commit bf66983

Please sign in to comment.