Skip to content

Commit 709e187

Browse files
Set page titles
1 parent c81877f commit 709e187

File tree

6 files changed

+11
-23
lines changed

6 files changed

+11
-23
lines changed

app/views/regions/accept.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{% extends 'layout.html' %}
22

3-
{% block pageTitle %}
4-
East of England
5-
{% endblock %}
3+
{% set pageName = "Approve " + organisation.name %}
64

75
{% block header %}
86
{% include "includes/header-logged-in-region.html" %}
@@ -21,7 +19,7 @@
2119
<div class="nhsuk-grid-row">
2220
<div class="nhsuk-grid-column-two-thirds">
2321

24-
<h1 class="nhsuk-heading-l">Approve {{ organisation.name }}</h1>
22+
<h1 class="nhsuk-heading-l">{{ pageName }}</h1>
2523

2624
<p>Confirm that {{ organisation.name }} can use the Record a vaccination service.</p>
2725

app/views/regions/awaiting-approval.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{% extends 'layout.html' %}
22

3-
{% block pageTitle %}
4-
East of England region
5-
{% endblock %}
3+
{% set pageName = "Awaiting approval" %}
64

75
{% block header %}
86
{% include "includes/header-logged-in-region.html" %}
@@ -19,7 +17,7 @@
1917
<div class="nhsuk-grid-row">
2018
<div class="nhsuk-grid-column-two-thirds">
2119

22-
<h1 class="nhsuk-heading-l">Awaiting approval</h1>
20+
<h1 class="nhsuk-heading-l">{{ pageName }}</h1>
2321

2422
</div>
2523
</div>

app/views/regions/closed-organisations.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{% extends 'layout.html' %}
22

3-
{% block pageTitle %}
4-
East of England region
5-
{% endblock %}
3+
{% set pageName = "Closed organisations" %}
64

75
{% block header %}
86
{% include "includes/header-logged-in-region.html" %}
@@ -19,7 +17,7 @@
1917
<div class="nhsuk-grid-row">
2018
<div class="nhsuk-grid-column-two-thirds">
2119

22-
<h1 class="nhsuk-heading-l">Closed organisations</h1>
20+
<h1 class="nhsuk-heading-l">{{ pageName }}</h1>
2321

2422
</div>
2523
</div>

app/views/regions/index.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{% extends 'layout.html' %}
22

3-
{% block pageTitle %}
4-
East of England region
5-
{% endblock %}
3+
{% set pageName = "North West" %}
64

75
{% block header %}
86
{% include "includes/header-logged-in-region.html" %}
@@ -12,7 +10,7 @@
1210
<div class="nhsuk-grid-row">
1311
<div class="nhsuk-grid-column-two-thirds">
1412

15-
<h1 class="nhsuk-heading-xl">North West</h1>
13+
<h1 class="nhsuk-heading-xl">{{ pageName }}</h1>
1614

1715
<p class="nhsuk-body-l">Invite an organisation to create an NHS Record a vaccination service (RAVS) account.</p>
1816

app/views/regions/organisation-request.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{% extends 'layout.html' %}
22

3-
{% block pageTitle %}
4-
East of England region
5-
{% endblock %}
3+
{% set pageName = organisation.name %}
64

75
{% block header %}
86
{% include "includes/header-logged-in-region.html" %}

app/views/regions/reject.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{% extends 'layout.html' %}
22

3-
{% block pageTitle %}
4-
East of England
5-
{% endblock %}
3+
{% set pageName = "Reject " + organisation.name %}
64

75
{% block header %}
86
{% include "includes/header-logged-in-region.html" %}
@@ -19,7 +17,7 @@
1917
<div class="nhsuk-grid-row">
2018
<div class="nhsuk-grid-column-two-thirds">
2119

22-
<h1 class="nhsuk-heading-l">Reject {{ organisation.name }}</h1>
20+
<h1 class="nhsuk-heading-l">{{ pageName }}</h1>
2321

2422
<p>Confirm that you have not approved {{ organisation.name }} to use the Record a vaccination service.</p>
2523

0 commit comments

Comments
 (0)