diff --git a/app/templates/components/current-service-link.html b/app/templates/components/current-service-link.html
new file mode 100644
index 000000000..807ba8ac4
--- /dev/null
+++ b/app/templates/components/current-service-link.html
@@ -0,0 +1,7 @@
+{% macro current_service_link(endpoint, link_text) %}
+ {% if current_service %}
+ {{ link_text }}
+ {% else %}
+ {{ link_text|capitalize }}
+ {% endif %}
+{% endmacro %}
diff --git a/app/templates/views/guidance/branding-and-customisation.html b/app/templates/views/guidance/branding-and-customisation.html
index 18bb83068..cc68bcb75 100644
--- a/app/templates/views/guidance/branding-and-customisation.html
+++ b/app/templates/views/guidance/branding-and-customisation.html
@@ -1,6 +1,5 @@
{% extends "content_template.html" %}
-{% from "components/table.html" import mapping_table, row, text_field, edit_field, field with context %}
-{% from "components/sub-navigation.html" import sub_navigation %}
+{% from "components/current-service-link.html" import current_service_link %}
{% block per_page_title %}
Branding and customisation
@@ -9,59 +8,59 @@
{% block content_column_content %}
Branding and customisation
-
+
This page explains how to:
-
+
-
+
Change your email branding
The default branding for email templates is the GOV.UK logo.
-
+
To change your email branding:
- - Go to the Email settings section of the Settings page.
+ - Go to the Email settings section of the {{ current_service_link('main.service_settings', 'settings') }} page.
- Select Change on the Email branding row.
Add a reply-to email address
-
+
You can choose the email address that your users reply to. You must add at least one reply-to address for your service before you can request to go live.
To add a reply-to email address:
- - Go to the Email settings section of the Settings page.
+ - Go to the Email settings section of the {{ current_service_link('main.service_settings', 'settings') }} page.
- Select Manage on the Reply-to email addresses row.
- Select Add reply-to address.
-
+
Change the text message sender
-
+
The text message sender tells your users who the message is from.
To change the text message sender from the default of ‘GOVUK’:
-
+
- - Go to the Text message settings section of the Settings page.
+ - Go to the Text message settings section of the {{ current_service_link('main.service_settings', 'settings') }} page.
- Select Manage on the Text message senders row.
- Select Change or Add text message sender.
Change your letter branding
-
+
Letter templates do not have default branding.
-
+
To add a logo to your letters:
-
+
- - Go to the Letter settings section of the Settings page.
+ - Go to the Letter settings section of the {{ current_service_link('main.service_settings', 'settings') }} page.
- Select Change on the Letter branding row.
diff --git a/app/templates/views/guidance/create-and-send-messages.html b/app/templates/views/guidance/create-and-send-messages.html
index 09b8334ba..fa905b33d 100644
--- a/app/templates/views/guidance/create-and-send-messages.html
+++ b/app/templates/views/guidance/create-and-send-messages.html
@@ -1,6 +1,5 @@
{% extends "content_template.html" %}
-{% from "components/table.html" import mapping_table, row, text_field, edit_field, field with context %}
-{% from "components/sub-navigation.html" import sub_navigation %}
+{% from "components/current-service-link.html" import current_service_link %}
{% block per_page_title %}
Send messages
@@ -9,15 +8,15 @@
{% block content_column_content %}
Send messages
-
+
Create an account to see a short tutorial explaining how to create and send messages.
-
+
Bulk sending
To send a batch of messages at once:
- - Go to the Templates page and choose an existing template.
+ - Go to the {{ current_service_link('main.choose_template', 'templates') }} page and choose an existing template.
- Select Send.
- If you’re sending emails, select Upload a list of email addresses. If you’re sending text messages, select Upload a list of phone numbers. If you’re sending letters, select Upload a list of addresses.
-
+
{% endblock %}
diff --git a/app/templates/views/guidance/edit-and-format-messages.html b/app/templates/views/guidance/edit-and-format-messages.html
index 6e80f3dee..a80655a81 100644
--- a/app/templates/views/guidance/edit-and-format-messages.html
+++ b/app/templates/views/guidance/edit-and-format-messages.html
@@ -1,6 +1,5 @@
{% extends "content_template.html" %}
-{% from "components/table.html" import mapping_table, row, text_field, edit_field, field with context %}
-{% from "components/sub-navigation.html" import sub_navigation %}
+{% from "components/current-service-link.html" import current_service_link %}
{% block per_page_title %}
Edit and format messages
@@ -23,7 +22,7 @@
You can see a list of formatting instructions on the edit template page:
- - Go to the Templates page.
+ - Go to the {{ current_service_link('main.choose_template', 'templates') }} page.
- Add a new template or choose an existing template and select Edit.
@@ -62,7 +61,7 @@
To add a placeholder to the template:
- - Go to the Templates page.
+ - Go to the {{ current_service_link('main.choose_template', 'templates') }} page.
- Add a new template or choose an existing template and select Edit.
- Add a placeholder using double brackets. For example: Hello ((first name)), your reference is ((ref number)).
- Select Save.
@@ -82,7 +81,7 @@
To add optional content to your emails and text messages:
- - Go to the Templates page.
+ - Go to the {{ current_service_link('main.choose_template', 'templates') }} page.
- Add a new template or choose an existing template and select Edit.
- Use double brackets and ?? to define optional content. For example, if you only want to show something to people who are under 18: ((under18??Please get your application signed by a parent or guardian.))
- Select Save.
diff --git a/app/templates/views/guidance/send-files-by-email.html b/app/templates/views/guidance/send-files-by-email.html
index 329eb24b9..331039a2e 100644
--- a/app/templates/views/guidance/send-files-by-email.html
+++ b/app/templates/views/guidance/send-files-by-email.html
@@ -1,6 +1,4 @@
{% extends "content_template.html" %}
-{% from "components/table.html" import mapping_table, row, text_field, edit_field, field with context %}
-{% from "components/sub-navigation.html" import sub_navigation %}
{% block per_page_title %}
Send files by email
@@ -9,10 +7,9 @@
{% block content_column_content %}
Send files by email
-
+
Contact us if you want to send files by email.
Then follow the instructions to send a file by email in our API documentation.
-
+
{% endblock %}
-
diff --git a/app/templates/views/guidance/upload-a-letter.html b/app/templates/views/guidance/upload-a-letter.html
index 2fbbec5d2..42f33d765 100644
--- a/app/templates/views/guidance/upload-a-letter.html
+++ b/app/templates/views/guidance/upload-a-letter.html
@@ -1,6 +1,5 @@
{% extends "content_template.html" %}
-{% from "components/table.html" import mapping_table, row, text_field, edit_field, field with context %}
-{% from "components/sub-navigation.html" import sub_navigation %}
+{% from "components/current-service-link.html" import current_service_link %}
{% block per_page_title %}
Upload a letter
@@ -9,13 +8,13 @@
{% block content_column_content %}
Upload a letter
-
+
You can upload and send your own letters instead of creating a reusable letter template.
-
+
To upload and send a letter from a PDF file:
-
+
- - Go to the Uploads page.
+ - Go to the {{ current_service_link('main.uploads', 'uploads') }} page.
- Select Upload a letter.
- Select Choose file.
@@ -30,9 +29,9 @@
- 10 pages or less
- smaller than 2MB
-
+
The content of your letter must appear inside the printable area.
-
+
To help you set up your letter, you can download our: