From e1f0102edfb788f3c8cd12e9449a5fbf456a5e08 Mon Sep 17 00:00:00 2001 From: Mat Johnson Date: Wed, 28 Oct 2026 13:56:28 +0000 Subject: [PATCH 1/2] Starting blocks --- app/views/index-prod.html | 17 +++- .../00-clinics.html | 96 +++++++++++++++++++ .../01-clinic-session-booked-list.html | 56 +++++++++++ 3 files changed, 168 insertions(+), 1 deletion(-) create mode 100644 app/views/mission-1/test-3-rearrange-clinic-session/00-clinics.html create mode 100644 app/views/mission-1/test-3-rearrange-clinic-session/01-clinic-session-booked-list.html diff --git a/app/views/index-prod.html b/app/views/index-prod.html index 058f3d5..83192dd 100644 --- a/app/views/index-prod.html +++ b/app/views/index-prod.html @@ -40,8 +40,21 @@

Mission 1

Mural: 0000-01 C2C September Test

+ +
+ +

Rearrange clinic session: live test #3 WIP

+

Enable test BSOs to:

+ + +
+

Create clinic module: live test #2

-

Enable test BSOs to create a clinic with a schedule lasting one day

+

Create a clinic with a schedule lasting one day

  1. Create a new clinic session @@ -51,6 +64,8 @@

    Create clinic module: live test #2

+
+

Older

diff --git a/app/views/mission-1/test-3-rearrange-clinic-session/00-clinics.html b/app/views/mission-1/test-3-rearrange-clinic-session/00-clinics.html new file mode 100644 index 0000000..16ed2b5 --- /dev/null +++ b/app/views/mission-1/test-3-rearrange-clinic-session/00-clinics.html @@ -0,0 +1,96 @@ +{% extends 'layout.html' %} + +{% from "mission-1/current-iteration/includes/primary-navigation.html" import primaryNavigation %} +{% block header %} +
+ Live test #3 Rearrange clinic session +
+ {{ primaryNavigation("Manage clinics", serviceName, bsoName) }} +{% endblock %} + + +{% block content %} + +{% if data.missionOne and data.missionOne.saved %} +
+
+ {% set html %} +

Clinic created

+ {% endset %} + {{ notificationBanner({ + html: html, + type: "success" + }) }} +
+
+{% endif %} + +
+
+
+

Clinics

+ {{ button({ + text: "Create a new clinic", + href: "create-clinic-rev-1-name?returnTo=clinics", + classes: "nhsuk-button--secondary" + }) }} +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + +
+ Clinic + + Location + + Unit + + Timeframe + + Capacity +
+ Example 1 day clinic session: West Tester Road Campus
+ HWO-NNN-standard-20260501 +
+ Chichester
+ St Richard’s Hospital +
+ Alpha van
+ HWO-mobile-1 +
+ 29 October 2023
+ 1 day +
+
+ 0 slots available of 10 +
+
+
+ +{% endblock %} + +{% block footer %} + {{ footer() }} +{% endblock %} diff --git a/app/views/mission-1/test-3-rearrange-clinic-session/01-clinic-session-booked-list.html b/app/views/mission-1/test-3-rearrange-clinic-session/01-clinic-session-booked-list.html new file mode 100644 index 0000000..df191b7 --- /dev/null +++ b/app/views/mission-1/test-3-rearrange-clinic-session/01-clinic-session-booked-list.html @@ -0,0 +1,56 @@ +{% extends 'layout.html' %} + +{% from "mission-1/current-iteration/includes/primary-navigation.html" import primaryNavigation %} +{% block header %} + {{ primaryNavigation("Batches", serviceName, bsoName) }} +{% endblock %} + +{% block beforeContent %}{% endblock %} + +{% block content %} + +
+
+ {% set html %} +

+ 10 participants booked +

+ {% endset %} + {{ notificationBanner({ + html: html, + type: "success" + }) }} +
+

+ {{ data.clinicId }} + {{ data.clinicName }} +

+
+ {{ data.unitName }} at {{ data.locationName }} +
+ {{ actionLink({ + text: "Download .csv", + href: "#" + }) }} +
+
+
+ +
+ +
+
+

+ Tuesday + {{ data.clinicTimespan }} +

+
+
+ + {% include "mission-1/current-iteration/includes/day-list-hard-coded.html" %} + +{% endblock %} + +{% block footer %} + {{ footer() }} +{% endblock %} \ No newline at end of file From e239eedfac4991ccd18617b469910e73d2288bb1 Mon Sep 17 00:00:00 2001 From: Mat Johnson Date: Tue, 3 Nov 2026 09:43:52 +0000 Subject: [PATCH 2/2] Update prod index --- app/views/index-prod.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/index-prod.html b/app/views/index-prod.html index 83192dd..1025ea1 100644 --- a/app/views/index-prod.html +++ b/app/views/index-prod.html @@ -43,7 +43,7 @@

Mission 1


-

Rearrange clinic session: live test #3 WIP

+

Rearrange clinic session: live test #3 WIP

Enable test BSOs to:

  • remove a participant from a slot
  • @@ -53,7 +53,7 @@

    Rearrange clinic session: live test #3 -

    Create clinic module: live test #2

    +

    Create clinic module: live test #2 prod

    Create a clinic with a schedule lasting one day