|
1 | 1 | {% extends "wizard_step.jinja" %} |
2 | 2 | {% from "card/macro.jinja" import card %} |
3 | 3 | {% from "inset-text/macro.jinja" import insetText %} |
4 | | - |
| 4 | +{% from "summary-list/macro.jinja" import summaryList %} |
5 | 5 | {% block stepContent %} |
6 | 6 |
|
7 | 7 | {% set symptoms_card_html %} |
| 8 | + {% set has_symptoms = false %} |
| 9 | + |
| 10 | + {% set insetHtml %} |
| 11 | + <p>No symptoms have been recorded for this participant.</p> |
| 12 | + {% endset %} |
| 13 | + {{ insetText({ |
| 14 | + "html": insetHtml, |
| 15 | + "classes": "nhsuk-u-margin-top-3 nhsuk-u-margin-bottom-4" |
| 16 | + }) }} |
8 | 17 |
|
| 18 | + <p class="nhsuk-u-margin-top-4 nhsuk-u-margin-bottom-0"> |
| 19 | + <a href="#" class="nhsuk-link">{{ "Add another symptom" if has_symptoms else "Add a symptom" }}</a> |
| 20 | + </p> |
9 | 21 | {% endset %} |
10 | 22 | {{ card({ |
11 | 23 | "heading": "Recent breast changes or symptoms", |
|
14 | 26 | }) }} |
15 | 27 |
|
16 | 28 | {% set medical_history_card_html %} |
17 | | - |
18 | | -{% endset %} |
| 29 | + {% set breast_cancer_history_link %} |
| 30 | + <a class="nhsuk-link" href="#">Enter breast cancer history</a> |
| 31 | + {% endset %} |
| 32 | + {% set non_cancerous_lump_diagnosis_link %} |
| 33 | + <a class="nhsuk-link" href="#">Enter non-cancerous lump diagnosis</a> |
| 34 | + {% endset %} |
| 35 | + {% set chest_procedures_link %} |
| 36 | + <a class="nhsuk-link" href="#">Enter other breast or chest procedures</a> |
| 37 | + {% endset %} |
| 38 | + {{ summaryList({ |
| 39 | + "rows": [ |
| 40 | + { |
| 41 | + "key": { |
| 42 | + "text": "Breast cancer history" |
| 43 | + }, |
| 44 | + "value": { |
| 45 | + "html": breast_cancer_history_link |
| 46 | + }, |
| 47 | + "actions": { |
| 48 | + "items": [] |
| 49 | + } |
| 50 | + }, |
| 51 | + { |
| 52 | + "key": { |
| 53 | + "text": "Non-cancerous lump diagnosis" |
| 54 | + }, |
| 55 | + "value": { |
| 56 | + "html": non_cancerous_lump_diagnosis_link |
| 57 | + }, |
| 58 | + "actions": { |
| 59 | + "items": [] |
| 60 | + } |
| 61 | + }, |
| 62 | + { |
| 63 | + "key": { |
| 64 | + "text": "Other breast or chest procedures" |
| 65 | + }, |
| 66 | + "value": { |
| 67 | + "html": chest_procedures_link |
| 68 | + }, |
| 69 | + "actions": { |
| 70 | + "items": [] |
| 71 | + } |
| 72 | + } |
| 73 | + ] |
| 74 | + }) }} |
| 75 | + {% endset %} |
19 | 76 | {{ card({ |
20 | 77 | "heading": "Medical history", |
21 | 78 | "headingLevel": "2", |
22 | 79 | "descriptionHtml": medical_history_card_html |
23 | 80 | }) }} |
24 | 81 |
|
25 | 82 | {% set breast_features_card_html %} |
| 83 | + {% set breast_features_recorded = false %} |
| 84 | + |
| 85 | + {% set insetHtml %} |
| 86 | + <p>No breast features have been recorded for this participant. Add any scars, moles, warts or lumps observed or reported during the appointment.</p> |
| 87 | + {% endset %} |
| 88 | + {{ insetText({ |
| 89 | + "html": insetHtml, |
| 90 | + "classes": "nhsuk-u-margin-top-3 nhsuk-u-margin-bottom-4" |
| 91 | + }) }} |
26 | 92 |
|
| 93 | + <p class="nhsuk-u-margin-top-4 nhsuk-u-margin-bottom-0"> |
| 94 | + <a href="#" class="nhsuk-link">{{ "Add another feature" if breast_features_recorded else "Add a feature" }}</a> |
| 95 | + </p> |
27 | 96 | {% endset %} |
28 | 97 | {{ card({ |
29 | 98 | "heading": "Breast features", |
|
32 | 101 | }) }} |
33 | 102 |
|
34 | 103 | {% set other_information_card_html %} |
35 | | - |
| 104 | + {% set hrt_link %} |
| 105 | + <a class="nhsuk-link" href="#">Enter hormone replacement therapy (HRT)</a> |
| 106 | + {% endset %} |
| 107 | + {% set pregnancy_and_breastfeeding_link %} |
| 108 | + <a class="nhsuk-link" href="#">Enter pregnancy and breastfeeding</a> |
| 109 | + {% endset %} |
36 | 110 | {% endset %} |
37 | 111 | {{ card({ |
38 | 112 | "heading": "Other information", |
|
0 commit comments