From 3f413bc74283b1ae1c4a179d73fa44d3ab285306 Mon Sep 17 00:00:00 2001 From: JohnHeeryTNA Date: Tue, 19 Sep 2023 12:14:00 +0100 Subject: [PATCH 1/9]
structures within the catalogue search results page. --- templates/search/blocks/search_filters.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/templates/search/blocks/search_filters.html b/templates/search/blocks/search_filters.html index ed8b0818f..9fc46e9d8 100644 --- a/templates/search/blocks/search_filters.html +++ b/templates/search/blocks/search_filters.html @@ -54,7 +54,7 @@

- +
{% if form.covering_date_from.errors %}
+
{{ form.covering_date_to.label_tag }} {% if form.covering_date_to.errors %}
@@ -111,6 +114,7 @@

+
For example, 27 3 2007
{{ form.opening_start_date.label_tag }} {% if form.opening_start_date.errors %} @@ -122,10 +126,12 @@

+
{{ form.opening_end_date.label_tag }} {% if form.opening_end_date.errors %}
From f5bbc28cb7927cacf5aebecccea68e624b5abd6a Mon Sep 17 00:00:00 2001 From: JohnHeeryTNA Date: Wed, 20 Sep 2023 10:36:43 +0100 Subject: [PATCH 2/9] adding in role="group" to fieldsets --- templates/search/blocks/search_filters.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/search/blocks/search_filters.html b/templates/search/blocks/search_filters.html index 9fc46e9d8..74effbb41 100644 --- a/templates/search/blocks/search_filters.html +++ b/templates/search/blocks/search_filters.html @@ -45,7 +45,7 @@

Edit filters

{% if form.group.value == 'tna' or form.group.value == 'digitised' or form.group.value == 'nonTna' %}
-
+

Dates

@@ -54,7 +54,7 @@

-
+
{% if form.covering_date_from.errors %}
-
+
{{ form.covering_date_to.label_tag }} {% if form.covering_date_to.errors %}
-
+

Record opening date

-
+
For example, 27 3 2007
{{ form.opening_start_date.label_tag }} {% if form.opening_start_date.errors %} @@ -131,7 +131,7 @@

-
+
{{ form.opening_end_date.label_tag }} {% if form.opening_end_date.errors %}
Date: Wed, 20 Sep 2023 10:39:58 +0100 Subject: [PATCH 3/9] fieldset roles --- templates/search/blocks/search_filters.html | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/search/blocks/search_filters.html b/templates/search/blocks/search_filters.html index 74effbb41..e87705d83 100644 --- a/templates/search/blocks/search_filters.html +++ b/templates/search/blocks/search_filters.html @@ -173,3 +173,4 @@

For example, 27 3 2007
{{ form.covering_date_from.label_tag }}
-
-
+
+
{% if form.covering_date_from.errors %}
-
+
+
{{ form.covering_date_to.label_tag }} {% if form.covering_date_to.errors %}
Record opening date

-
-
+
+
For example, 27 3 2007
{{ form.opening_start_date.label_tag }} {% if form.opening_start_date.errors %} @@ -130,8 +130,8 @@

-
+
+
{{ form.opening_end_date.label_tag }} {% if form.opening_end_date.errors %}
For example, 27 3 2007
{{ form.covering_date_from.label_tag }}
-
+
{% if form.covering_date_from.errors %}
+
{{ form.covering_date_to.label_tag }} {% if form.covering_date_to.errors %} From be9c89af1b966998a5ddd5930b80b1eaf8b8e9cf Mon Sep 17 00:00:00 2001 From: JohnHeeryTNA Date: Wed, 20 Sep 2023 13:50:15 +0100 Subject: [PATCH 6/9] removing nested
's --- templates/search/blocks/search_filters.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/templates/search/blocks/search_filters.html b/templates/search/blocks/search_filters.html index 15f9d06dc..ffb1191f7 100644 --- a/templates/search/blocks/search_filters.html +++ b/templates/search/blocks/search_filters.html @@ -54,7 +54,7 @@

-
+ {% if form.covering_date_from.errors %}
-
+ {{ form.covering_date_to.label_tag }} {% if form.covering_date_to.errors %}
@@ -114,7 +114,7 @@

-
+ For example, 27 3 2007
{{ form.opening_start_date.label_tag }} {% if form.opening_start_date.errors %} @@ -126,12 +126,12 @@

-
+ {{ form.opening_end_date.label_tag }} {% if form.opening_end_date.errors %}
From 37507f370a9145a3cb1bb79e43d42800c3ceef15 Mon Sep 17 00:00:00 2001 From: JohnHeeryTNA Date: Wed, 20 Sep 2023 14:33:50 +0100 Subject: [PATCH 7/9] fieldset refactoring --- templates/search/blocks/search_filters.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/search/blocks/search_filters.html b/templates/search/blocks/search_filters.html index ffb1191f7..0005dd284 100644 --- a/templates/search/blocks/search_filters.html +++ b/templates/search/blocks/search_filters.html @@ -44,8 +44,8 @@

Refine results

Edit filters

{% if form.group.value == 'tna' or form.group.value == 'digitised' or form.group.value == 'nonTna' %} -
-
+
+

Dates

@@ -67,7 +67,7 @@

+
{{ form.covering_date_to.label_tag }} {% if form.covering_date_to.errors %} @@ -107,8 +107,8 @@

-
+
+

Record opening date

@@ -130,7 +130,7 @@

+
{{ form.opening_end_date.label_tag }} {% if form.opening_end_date.errors %} @@ -142,7 +142,7 @@

From bf1c4db98bec769bbca95ddac38b3a2d5e49cb84 Mon Sep 17 00:00:00 2001 From: JohnHeeryTNA Date: Thu, 21 Sep 2023 10:50:02 +0100 Subject: [PATCH 8/9] fieldset amendments --- templates/search/blocks/search_filters.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/search/blocks/search_filters.html b/templates/search/blocks/search_filters.html index 0005dd284..f5d45293d 100644 --- a/templates/search/blocks/search_filters.html +++ b/templates/search/blocks/search_filters.html @@ -44,16 +44,16 @@

Refine results

Edit filters

{% if form.group.value == 'tna' or form.group.value == 'digitised' or form.group.value == 'nonTna' %} -
-
+
+

Dates

- For example, 27 3 2007 + For example, 27 3 2007
{{ form.covering_date_from.label_tag }}
-
+
{% if form.covering_date_from.errors %}
Date: Thu, 21 Sep 2023 15:04:23 +0100 Subject: [PATCH 9/9] fieldset amendments --- templates/search/blocks/search_filters.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/search/blocks/search_filters.html b/templates/search/blocks/search_filters.html index f5d45293d..0b9984540 100644 --- a/templates/search/blocks/search_filters.html +++ b/templates/search/blocks/search_filters.html @@ -107,15 +107,15 @@

-
+
+

Record opening date

-
+
- For example, 27 3 2007
+ For example, 27 3 2007
{{ form.opening_start_date.label_tag }} {% if form.opening_start_date.errors %}