Skip to content

Commit fc885a1

Browse files
Update back links
1 parent 1631db6 commit fc885a1

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

app/views/live/organ-faith.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
{% block outerContent %}
1515
{{ backLink({
16-
"href": "check-answers-1",
16+
"href": "javascript:history.go(-1)",
1717
"text": "Go back",
1818
"classes": "nhsuk-u-margin-top-4 nhsuk-u-margin-bottom-0"
1919
}) }}

app/views/live/would-you-donate-organs.html

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,13 @@
77

88
{% set heading = 'Would you like to donate your organs and tissue?' %}
99

10-
{% if (data['alcohol-consumption'] !== "Never" and data['alcohol-consumption'] !== "Prefer not to say" and data['units']) %}
11-
{% set link = 'how-often-six-or-more-units' %}
12-
{% else %}
13-
{% set link = 'how-often-do-you-drink-alcohol' %}
14-
{% endif %}
15-
1610
{% block pageTitle %}
1711
{{ heading }} - {{ data.presets[0].servicename }} - NHS
1812
{% endblock %}
1913

2014
{% block outerContent %}
2115
{{ backLink({
22-
"href": link,
16+
"href": "javascript:history.go(-1)",
2317
"text": "Go back",
2418
"classes": "nhsuk-u-margin-top-4 nhsuk-u-margin-bottom-0"
2519
}) }}

0 commit comments

Comments
 (0)