From 0cf3d3703a49f6fccda0966090536f2a9386a5a6 Mon Sep 17 00:00:00 2001 From: rivalee Date: Wed, 24 Dec 2025 11:57:57 +0000 Subject: [PATCH] Add image troubleshooting include and update two pages where it should show --- .../images/image-troubleshooting.njk | 51 +++++++++++++++++++ app/views/events/images-automatic.html | 2 + .../events/images-before-mammography.html | 9 +--- 3 files changed, 54 insertions(+), 8 deletions(-) create mode 100644 app/views/_includes/images/image-troubleshooting.njk diff --git a/app/views/_includes/images/image-troubleshooting.njk b/app/views/_includes/images/image-troubleshooting.njk new file mode 100644 index 00000000..6f88c6d3 --- /dev/null +++ b/app/views/_includes/images/image-troubleshooting.njk @@ -0,0 +1,51 @@ +{% from "details/macro.njk" import details %} +{% from "button/macro.njk" import button %} + +
+ {% call details({ + summaryText: "Image troubleshooting", + classes: "nhsuk-expander" + }) %} +
+
+

There are too few or too many images

+
    +
  • Wait 15 seconds
  • +
  • Resend images from mammogram machine
  • +
+ + {{ button({ + text: "Resend images from mammogram machine", + href: "#", + classes: "app-button--small" + }) }} + +

or

+ +

Record image information manually

+ +

Images are blurred or obstructed

+
    +
  • Retake the necessary image views
  • +
  • The new images will appear above (refresh image information if they do not)
  • +
+ +

Images are incorrectly labelled (views or participant info)

+
    +
  • Change label details on the mammogram machine
  • +
  • Amended image details will appear above (refresh image information if they do not)
  • +
+ +

or

+ +

Record image information manually – you can add notes to indicate what information needs to be corrected

+ +

Technical issues with the mammogram machine

+

Stop this appointment

+ +

Other appointments can be cancelled from the clinic list if this fault cannot be resolved.

+
+
+ {% endcall %} + +
\ No newline at end of file diff --git a/app/views/events/images-automatic.html b/app/views/events/images-automatic.html index ecc596cf..02c33ba0 100644 --- a/app/views/events/images-automatic.html +++ b/app/views/events/images-automatic.html @@ -201,6 +201,8 @@

Additional images

+ {% include "_includes/images/image-troubleshooting.njk" %} + {% endblock %} diff --git a/app/views/events/images-before-mammography.html b/app/views/events/images-before-mammography.html index 5f965860..66ce87d5 100644 --- a/app/views/events/images-before-mammography.html +++ b/app/views/events/images-before-mammography.html @@ -40,14 +40,7 @@

{{ pageHeading }}

#}

-
- - -

- There is a problem with the images -

- - + {% include "_includes/images/image-troubleshooting.njk" %} {% include "screening-cannot-proceed-link.njk" %}