@@ -25,11 +25,67 @@ <h1 class="nhsuk-heading-l js-image-count">
2525 {% set animateImages = true %}
2626 {% include "fake-images.njk" %}
2727
28+ < div class ="app-button-group nhsuk-u-margin-bottom-0 ">
29+ {{ button({
30+ text: "Re-scan PACS for image updates",
31+ classes: "nhsuk-button--secondary"
32+ }) }}
2833
29- < hr class ="nhsuk-section-break nhsuk-section-break--l nhsuk-section-break--visible ">
34+ < a class ="nhsuk-link app-link--error " href ="# "> There is a problem with the images</ a >
35+ </ div >
36+
37+ < hr class ="nhsuk-section-break nhsuk-section-break--l nhsuk-section-break--visible nhsuk-u-margin-top-3 ">
3038
3139 < div class ="nhsuk-grid-row ">
3240 < div class ="nhsuk-grid-column-two-thirds ">
41+
42+
43+ {# {% set notImportedCorrectlyHtml %}
44+
45+ {{ input({
46+ label: {
47+ text: "How many images were taken?"
48+ },
49+ id: "imageCount",
50+ name: "imageCount",
51+ classes: "nhsuk-input--width-5"
52+ }) }}
53+
54+ {{ input({
55+ label: {
56+ text: "Describe the issue"
57+ },
58+ id: "issueComment",
59+ name: "issueComment"
60+ }) }}
61+
62+ {% endset %}
63+
64+ {{ radios({
65+ idPrefix: "imagesImportedCorrectly",
66+ name: "imagesImportedCorrectly",
67+ fieldset: {
68+ legend: {
69+ text: "Have all images imported correctly?",
70+ classes: "nhsuk-fieldset__legend--m",
71+ isPageHeading: false
72+ }
73+ },
74+ items: [
75+ {
76+ value: "yes",
77+ text: "Yes, " + imageCount + " images were taken"
78+ },
79+ {
80+ value: "yesPartial",
81+ text: "No, there is an issue and rescanning has not fixed it",
82+ conditional: {
83+ html: notImportedCorrectlyHtml
84+ }
85+ }
86+ ]
87+ }) }} #}
88+
3389 {% set reasonHtml %}
3490 {{ textarea({
3591 name: "partialMammographyReason",
@@ -53,7 +109,7 @@ <h1 class="nhsuk-heading-l js-image-count">
53109 items: [
54110 {
55111 value: "yes",
56- text: "Yes"
112+ text: "Yes (" + imageCount + " images) "
57113 },
58114 {
59115 value: "yesPartial",
0 commit comments