Make page titles consistent

This commit modifies the HTML `<title>` tags for all the pages. It makes two
main changes:
- make the title tag match the `<h1>` of the page, for better or worse
- put the service name after the page title, seperated by an en dash, as per
  GOV.UK
This commit is contained in:
Chris Hill-Scott
2016-02-08 09:23:51 +00:00
parent 4338bc9aaf
commit 382cfa2907
40 changed files with 41 additions and 41 deletions

View File

@@ -3,7 +3,7 @@
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
GOV.UK Notify | Set up service
{{heading}} GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -2,7 +2,7 @@
{% from "components/table.html" import list_table, field, hidden_field_heading %}
{% block page_title %}
GOV.UK Notify | API keys and documentation
API keys GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -3,7 +3,7 @@
{% from "components/textbox.html" import textbox %}
{% block page_title %}
GOV.UK Notify | API keys and documentation
Add a new API key GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -3,7 +3,7 @@
{% from "components/api-key.html" import api_key %}
{% block page_title %}
GOV.UK Notify | API keys and documentation
Revoke API key GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -3,7 +3,7 @@
{% from "components/api-key.html" import api_key %}
{% block page_title %}
GOV.UK Notify | API keys and documentation
New API key GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -1,7 +1,7 @@
{% extends "withnav_template.html" %}
{% block page_title %}
GOV.UK Notify | Send email
Send email GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -5,7 +5,7 @@
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
GOV.UK Notify | Send text messages
Check and confirm GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -2,7 +2,7 @@
{% from "components/browse-list.html" import browse_list %}
{% block page_title %}
GOV.UK Notify | Dashboard
Choose service GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -4,7 +4,7 @@
{% from "components/textbox.html" import textbox %}
{% block page_title %}
GOV.UK Notify | Send text messages
Send text messages GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -3,7 +3,7 @@
{% from "components/api-key.html" import api_key %}
{% block page_title %}
GOV.UK Notify | API keys and documentation
Developer documentation GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -3,7 +3,7 @@
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
GOV.UK Notify | Edit template
{{ h1 }} GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -3,7 +3,7 @@
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
GOV.UK Notify
Check your email address GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -3,7 +3,7 @@
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
GOV.UK Notify
Create a new password GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -5,7 +5,7 @@
{% from "components/sms-message.html" import sms_message %}
{% block page_title %}
GOV.UK Notify | Notifications activity
{{ uploaded_file_name }} GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -2,7 +2,7 @@
{% from "components/table.html" import list_table, field, right_aligned_field_heading %}
{% block page_title %}
GOV.UK Notify | Notifications activity
Notifications activity GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -4,12 +4,12 @@
{% from "components/browse-list.html" import browse_list %}
{% block page_title %}
GOV.UK Notify | Manage templates
Manage templates GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}
<h1 class="heading-large">Templates</h1>
<h1 class="heading-large">Manage templates</h1>
{% if not has_jobs %}

View File

@@ -3,7 +3,7 @@
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
GOV.UK Notify | Manage users
Manage users GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -3,7 +3,7 @@
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
GOV.UK Notify
Create a new password GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -4,7 +4,7 @@
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
GOV.UK Notify | Notifications activity
Text message GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -1,7 +1,7 @@
{% extends "withoutnav_template.html" %}
{% block page_title %}
GOV.UK Notify |
GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -1,7 +1,7 @@
{% extends "withoutnav_template.html" %}
{% block page_title %}
GOV.UK Notify | Create a user account
Create an account GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -3,7 +3,7 @@
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
GOV.UK Notify | Create an account
Create an account GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -1,7 +1,7 @@
{% extends "withnav_template.html" %}
{% block page_title %}
GOV.UK Notify | Send email
Send email GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -4,7 +4,7 @@
{% from "components/file-upload.html" import file_upload %}
{% block page_title %}
GOV.UK Notify | Send text messages
Send text messages GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -2,7 +2,7 @@
{% from "components/browse-list.html" import browse_list %}
{% block page_title %}
GOV.UK Notify | Service settings
Service settings GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -3,7 +3,7 @@
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
GOV.UK Notify | Service settings
{{ heading }} GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -2,7 +2,7 @@
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
GOV.UK Notify | Service settings
Delete service GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -3,7 +3,7 @@
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
GOV.UK Notify | Service settings
Change your service name GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -2,7 +2,7 @@
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
GOV.UK Notify | Service settings
Request to go live GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -2,7 +2,7 @@
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
GOV.UK Notify | Service settings
Temporrily suspend API keys GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -3,7 +3,7 @@
{% from "components/big-number.html" import big_number %}
{% block page_title %}
GOV.UK Notify | Dashboard
{{ session.get('service_name', 'Dashboard') }} GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -1,7 +1,7 @@
{% extends "withoutnav_template.html" %}
{% block page_title %}
GOV.UK Notify | Get started
GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -3,7 +3,7 @@
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
Sign in
Sign in GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -1,7 +1,7 @@
{% extends "withoutnav_template.html" %}
{% block page_title %}
GOV.UK Notify
Check your mobile number GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -3,7 +3,7 @@
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
GOV.UK Notify
Check your mobile number GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -3,7 +3,7 @@
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
GOV.UK Notify | Text verification
Text verification GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -2,7 +2,7 @@
{% from "components/table.html" import list_table, row, field %}
{% block page_title %}
GOV.UK Notify | Your profile
Your profile GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -1,7 +1,7 @@
{% extends "withoutnav_template.html" %}
{% block page_title %}
GOV.UK Notify
Resend verification code GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -1,7 +1,7 @@
{% extends "withoutnav_template.html" %}
{% block page_title %}
GOV.UK Notify | Confirm mobile number
Confirm your mobile number GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}

View File

@@ -3,7 +3,7 @@
{% from "components/page-footer.html" import page_footer %}
{% block page_title %}
GOV.UK Notify | Confirm email address and mobile number
Enter the codes weve sent you GOV.UK Notify
{% endblock %}
{% block maincolumn_content %}