From b3d1917731f58889328e0cb02cf241e67bd9dcf9 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Tue, 29 Mar 2016 16:38:49 +0100 Subject: [PATCH] ui: Update page titles Since the page title is displayed in the navbar, they must be limited length and contain little to no special formatting. Do this. Signed-off-by: Stephen Finucane --- patchwork/templates/patchwork/bundle.html | 1 + patchwork/templates/patchwork/help/about.html | 9 +++------ patchwork/templates/patchwork/help/pwclient.html | 5 +++-- patchwork/templates/patchwork/login.html | 4 ++-- patchwork/templates/patchwork/logout.html | 6 +++--- patchwork/templates/patchwork/mail-form.html | 4 ++-- patchwork/templates/patchwork/mail-settings.html | 5 ++--- patchwork/templates/patchwork/optin-request.html | 5 ++--- patchwork/templates/patchwork/optin.html | 5 ++--- patchwork/templates/patchwork/optout-request.html | 5 ++--- patchwork/templates/patchwork/optout.html | 5 ++--- patchwork/templates/patchwork/profile.html | 5 ++--- patchwork/templates/patchwork/registration_form.html | 4 +--- patchwork/templates/patchwork/user-link-confirm.html | 5 ++--- patchwork/templates/patchwork/user-link.html | 10 ++-------- 15 files changed, 31 insertions(+), 47 deletions(-) diff --git a/patchwork/templates/patchwork/bundle.html b/patchwork/templates/patchwork/bundle.html index ebedad15..2042cb96 100644 --- a/patchwork/templates/patchwork/bundle.html +++ b/patchwork/templates/patchwork/bundle.html @@ -10,6 +10,7 @@ {% block title %}{{project.name}}{% endblock %} {% block body %} +

Bundle

This bundle contains patches for the {{ bundle.project.linkname }} project.

diff --git a/patchwork/templates/patchwork/help/about.html b/patchwork/templates/patchwork/help/about.html index 6d3408f2..ed0c4214 100644 --- a/patchwork/templates/patchwork/help/about.html +++ b/patchwork/templates/patchwork/help/about.html @@ -1,17 +1,14 @@ {% extends "base.html" %} {% block title %}About{% endblock %} -{% block heading %} - About Patchwork{% endblock %} +{% block heading %}About Patchwork{% endblock %} {% block body %} +

About Patchwork

Patchwork is free software, and is available from the Patchwork website.

-

Patchwork is built on the django +

Patchwork is built on the Django web framework.

- -

Icons from the Sweetie icon set. - {% endblock %} - diff --git a/patchwork/templates/patchwork/help/pwclient.html b/patchwork/templates/patchwork/help/pwclient.html index 1d87ec9b..b419b428 100644 --- a/patchwork/templates/patchwork/help/pwclient.html +++ b/patchwork/templates/patchwork/help/pwclient.html @@ -1,9 +1,10 @@ {% extends "base.html" %} -{% block title %}Command-line client{% endblock %} -{% block heading %} - Command-line client{% endblock %} +{% block title %}pwclient: The Patchwork command-line client{% endblock %} +{% block heading %}pwclient{% endblock %} {% block body %} +

pwclient

pwclient is the command-line client for Patchwork. Currently, it provides access to some read-only features of Patchwork, such as downloading diff --git a/patchwork/templates/patchwork/login.html b/patchwork/templates/patchwork/login.html index 293ada3e..e8b1a4e8 100644 --- a/patchwork/templates/patchwork/login.html +++ b/patchwork/templates/patchwork/login.html @@ -1,7 +1,7 @@ {% extends "base.html" %} -{% block title %}Login{% endblock %} -{% block heading %}Login{% endblock %} +{% block title %}Sign in to Patchwork{% endblock %} +{% block heading %}Sign in to Patchwork{% endblock %} {% block headers %}