File tree Expand file tree Collapse file tree
medical-information/medical-history Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22{# app/views/_components/check-in/template.njk #}
33
44{% from ' _components/modal/macro.njk' import appModal %}
5- {% from ' _components/summary-list/macro.njk' import appSummaryList as summaryList %}
5+ {% from ' _components/summary-list/macro.njk' import appSummaryList %}
66{% from ' _components/summary-list/macro.njk' import appSummaryListRow %}
77
88{# Build check-in href #}
Original file line number Diff line number Diff line change 22
33{% from ' tag/macro.njk' import tag %}
44{% from ' _components/modal/macro.njk' import appModal %}
5- {% from ' _components/summary-list/macro.njk' import appSummaryList as summaryList %}
5+ {% from ' _components/summary-list/macro.njk' import appSummaryList %}
66{% from ' _components/summary-list/macro.njk' import appSummaryListRow %}
77
88{% set tagClasses %}
Original file line number Diff line number Diff line change 1515 </p >
1616
1717 {% set cardHtml %}
18- {% call summaryList () %}
18+ {% call appSummaryList () %}
1919 {% include " _includes/summary-lists/rows/full-name.njk" %}
2020 {% include " _includes/summary-lists/rows/date-of-birth.njk" %}
2121
Original file line number Diff line number Diff line change 11{# app/views/_includes/medical-information/medical-history/index.njk #}
22
33{# Need to manually inmport these as this is an include #}
4- {% from ' _components/summary-list/macro.njk' import appSummaryList as summaryList %}
4+ {% from ' _components/summary-list/macro.njk' import appSummaryList %}
55{% from ' _components/summary-list/macro.njk' import appSummaryListRow as summaryListRow %}
66
77{# ============================================================ #}
498498 {# ============================================================ #}
499499
500500 {% set historyItemContents %}
501- {% call summaryList () %}
501+ {% call appSummaryList () %}
502502
503503 {# Breast cancer #}
504504 {% if typeData .type == ' breastCancer' %}
Original file line number Diff line number Diff line change 1- {% call summaryList ({
1+ {% call appSummaryList ({
22}) %}
33 {% include " ../rows/address.njk" %}
44 {% include " ../rows/phone-numbers.njk" %}
Original file line number Diff line number Diff line change 1- {% call summaryList (
1+ {% call appSummaryList (
22) %}
33 {% include " _includes/summary-lists/rows/nhs-number.njk" %}
44 {% include " _includes/summary-lists/rows/full-name.njk" %}
88 {% set noBorder = true %}
99 {% endif %}
1010 {% include " _includes/summary-lists/rows/ethnicity.njk" %}
11- {% include " _includes/summary-lists/rows/gp.njk" %}
11+ {# GP disabled until we're confident we need it #}
12+ {# {% include "_includes/summary-lists/rows/gp.njk" %} #}
1213{% endcall %}
Original file line number Diff line number Diff line change 11
2- {% call summaryList (
2+ {% call appSummaryList (
33) %}
44 {% include " _includes/summary-lists/rows/sx-number.njk" %}
55 {% include " _includes/summary-lists/rows/screening-protocol.njk" %}
Original file line number Diff line number Diff line change 3131
3232 {# Personal information #}
3333 {% set participantDetailsHtml %}
34- {% call summaryList () %}
34+ {% call appSummaryList () %}
3535
3636 {{ appSummaryListRow({
3737 key: {
7979
8080 {# Include the personal details summary in a feature card #}
8181 {% set participantDetailsHtml %}
82- {% call summaryList () %}
82+ {% call appSummaryList () %}
8383 {% include "_includes/summary-lists/rows/nhs-number.njk" %}
8484 {% include "_includes/summary-lists/rows/full-name.njk" %}
8585 {% include "_includes/summary-lists/rows/date-of-birth.njk" %}
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ <h1>{{ pageHeading }}</h1>
2424
2525 {# Include the personal details summary in a feature card #}
2626 {% set participantDetailsHtml %}
27- {% call summaryList () %}
27+ {% call appSummaryList () %}
2828 {% include "_includes/summary-lists/rows/nhs-number.njk" %}
2929 {% include "_includes/summary-lists/rows/full-name.njk" %}
3030 {% include "_includes/summary-lists/rows/date-of-birth.njk" %}
You can’t perform that action at this time.
0 commit comments