Skip to content

Commit 207b101

Browse files
Minor tweaks to screening (#68)
1 parent 2f8b6d4 commit 207b101

2 files changed

Lines changed: 59 additions & 3 deletions

File tree

app/views/events/mammography/imaging.html

Lines changed: 58 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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",

app/views/reading/awaiting-annotations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h1 class="nhsuk-heading-l js-image-count">
3131
}) }}
3232

3333
{{ button({
34-
text: "Check PACs for updates",
34+
text: "Check PACS for updates",
3535
classes: "nhsuk-button--secondary",
3636
href: "./confirm-abnormal"
3737
}) }}

0 commit comments

Comments
 (0)