]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
ui: Update page titles
authorStephen Finucane <stephen.finucane@intel.com>
Tue, 29 Mar 2016 15:38:49 +0000 (16:38 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Fri, 1 Apr 2016 12:19:59 +0000 (13:19 +0100)
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 <stephen.finucane@intel.com>
15 files changed:
patchwork/templates/patchwork/bundle.html
patchwork/templates/patchwork/help/about.html
patchwork/templates/patchwork/help/pwclient.html
patchwork/templates/patchwork/login.html
patchwork/templates/patchwork/logout.html
patchwork/templates/patchwork/mail-form.html
patchwork/templates/patchwork/mail-settings.html
patchwork/templates/patchwork/optin-request.html
patchwork/templates/patchwork/optin.html
patchwork/templates/patchwork/optout-request.html
patchwork/templates/patchwork/optout.html
patchwork/templates/patchwork/profile.html
patchwork/templates/patchwork/registration_form.html
patchwork/templates/patchwork/user-link-confirm.html
patchwork/templates/patchwork/user-link.html

index ebedad1552af142b6658993af4f51563aa025a02..2042cb9618e18c4e51ae930b0d0c0bc602c865f0 100644 (file)
@@ -10,6 +10,7 @@
 {% block title %}{{project.name}}{% endblock %}
 
 {% block body %}
+<h1>Bundle</h1>
 
 <p>This bundle contains patches for the {{ bundle.project.linkname }}
 project.</p>
index 6d3408f24d0f6dbd951b1c059210fde625bb7c40..ed0c4214b791b119f9fdbadf9509712b9c10b23e 100644 (file)
@@ -1,17 +1,14 @@
 {% extends "base.html" %}
 
 {% block title %}About{% endblock %}
-{% block heading %} - About Patchwork{% endblock %}
+{% block heading %}About Patchwork{% endblock %}
 
 {% block body %}
+<h1>About Patchwork</h1>
 
 <p>Patchwork is free software, and is available from the
 <a href="http://jk.ozlabs.org/projects/patchwork/">Patchwork website</a>.</p>
 
-<p>Patchwork is built on the <a href="http://djangoproject.com/">django</a>
+<p>Patchwork is built on the <a href="http://djangoproject.com/">Django</a>
 web framework.</p>
-
-<p>Icons from the <a href="http://sweetie.sublink.ca/">Sweetie</a> icon set.</a>
-
 {% endblock %}
-
index 1d87ec9bc8189ca0c4d1ee426d787a2e14c295a7..b419b4282d297efeec8924a78fa783f50162cf33 100644 (file)
@@ -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 %}
+<h1>pwclient</h1>
 
 <p><code>pwclient</code> is the command-line client for Patchwork. Currently,
 it provides access to some read-only features of Patchwork, such as downloading
index 293ada3e84c15198a375dca20444439616e64075..e8b1a4e8f242d2cb5e957f956788005a7322cbc7 100644 (file)
@@ -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 %}
   <script type="text/javascript">
index f030aeefd479e258ac479ee59990316877aec4fe..228b342eb9d6c743f489c856d36dcf2a6a06944b 100644 (file)
@@ -1,8 +1,8 @@
 {% extends "base.html" %}
 
-{% block title %}Logout{% endblock %}
-{% block heading %}Logout{% endblock %}
+{% block title %}Sign out{% endblock %}
+{% block heading %}Sign out{% endblock %}
 
 {% block body %}
-<p>Logged out</p>
+<p>Signed out</p>
 {% endblock %}
index 315b7a5d7db6a73f1cd16d2bcc89e47fac54a7ea..1c6c04937112e3aa7231f871548f533f0b703e22 100644 (file)
@@ -1,7 +1,7 @@
 {% extends "base.html" %}
 
-{% block title %}mail settings{% endblock %}
-{% block heading %}mail settings{% endblock %}
+{% block title %}Mail settings{% endblock %}
+{% block heading %}Mail settings{% endblock %}
 
 {% block body %}
 
index ab0af4f91afec9b6bbed272844bb72c3193358b8..e35fa871f6f63328600d2df96d21bde57c201fd5 100644 (file)
@@ -1,7 +1,7 @@
 {% extends "base.html" %}
 
-{% block title %}mail settings{% endblock %}
-{% block heading %}mail settings{% endblock %}
+{% block title %}Mail settings{% endblock %}
+{% block heading %}Mail settings{% endblock %}
 
 {% block body %}
 <p>Settings for <strong>{{email}}</strong>:</p>
@@ -19,7 +19,6 @@
     <input type="submit" value="Opt-in"/>
    </form>
   </td>
-
 {% else %}
   <td>Patchwork <strong>may</strong> send automated notifications to
    this address.</td>
index a3dd4b899a9e240761e36b2902317d69a6e6858d..dfc104e8b2db7f0a62c7bdbb272c7403df8db22b 100644 (file)
@@ -1,7 +1,7 @@
 {% extends "base.html" %}
 
-{% block title %}opt-in{% endblock %}
-{% block heading %}opt-in{% endblock %}
+{% block title %}Opt-in{% endblock %}
+{% block heading %}Opt-in{% endblock %}
 
 {% block body %}
 {% if email_sent %}
@@ -39,7 +39,6 @@ without your consent.</p>
 >&gt;{% if admins|length > 2 and not forloop.last %}, {% endif %}
 {% endfor %}
 {% endif %}
-
 {% endif %}
 
 {% if user.is_authenticated %}
index aeb52b33754d2d60ebb5b2af87987e9c9162011a..0775281c4cd03a7fa41bd1002c8f6d24404cbf53 100644 (file)
@@ -1,10 +1,9 @@
 {% extends "base.html" %}
 
-{% block title %}opt-in{% endblock %}
-{% block heading %}opt-in{% endblock %}
+{% block title %}Opt-in{% endblock %}
+{% block heading %}Opt-in{% endblock %}
 
 {% block body %}
-
 <p><strong>Opt-in complete</strong>. You have sucessfully opted back in to
 automated email from this Patchwork system, using the address
 <strong>{{email}}</strong>.</p>
index 1a5cec4c628fda87a820f852bc94eaebd0046061..eae05e62005bf8bcdf0fdbe520bf21e8ffd9520a 100644 (file)
@@ -1,7 +1,7 @@
 {% extends "base.html" %}
 
-{% block title %}opt-out{% endblock %}
-{% block heading %}opt-out{% endblock %}
+{% block title %}Opt-out{% endblock %}
+{% block heading %}Opt-out{% endblock %}
 
 {% block body %}
 {% if email_sent %}
@@ -40,7 +40,6 @@ without your consent.</p>
 >&gt;{% if admins|length > 2 and not forloop.last %}, {% endif %}
 {% endfor %}
 {% endif %}
-
 {% endif %}
 
 {% if user.is_authenticated %}
index 71388549b7af347bd64f2f52640fb99bb7f07dfe..f3b75ce62ab5315ecb9031d741569c75eac752d0 100644 (file)
@@ -1,10 +1,9 @@
 {% extends "base.html" %}
 
-{% block title %}opt-out{% endblock %}
-{% block heading %}opt-out{% endblock %}
+{% block title %}Opt-out{% endblock %}
+{% block heading %}Opt-out{% endblock %}
 
 {% block body %}
-
 <p><strong>Opt-out complete</strong>. You have successfully opted-out of
 automated notifications from this Patchwork system, from the address
 <strong>{{email}}</strong></p>
index 9b6d5b3a09e1622806eba22d6246181d1cdeefc6..f9761953836f18e54675b6eef0243bb794ae79cd 100644 (file)
@@ -1,8 +1,7 @@
 {% extends "base.html" %}
 
-{% block title %}User Profile: {{ user.username }}{% endblock %}
-{% block heading %}User Profile: {{ user.username }}{% endblock %}
-
+{% block title %}{{ user.username }}{% endblock %}
+{% block heading %}Your Profile{% endblock %}
 
 {% block body %}
 <h1>Your Profile</h1>
index 4e610b32bc5fa4f589a5f1f6418d403ef62bc074..5280b660a79eb00ff701ba430bb3109b8ae9d0c9 100644 (file)
@@ -3,7 +3,6 @@
 {% block title %}Registration{% endblock %}
 {% block heading %}Registration{% endblock %}
 
-
 {% block body %}
 
 {% if confirmation and not error %}
@@ -42,7 +41,7 @@
 {% endif %}
    </td>
   </tr>
-   
+
   <tr>
    <td>{{ form.last_name.label_tag }}</td>
    <td>
 </table>
 </form>
 {% endif %}
-
 {% endblock %}
index 7c418ec05d25cf00812383ebc32d93ea8f128700..e85eb1bdc8ca2579cb7bf9d0e8fa1fd1f9d92e7d 100644 (file)
@@ -1,8 +1,7 @@
 {% extends "base.html" %}
 
-{% block title %}{{ user.username }}{% endblock %}
-{% block heading %}link accounts for {{ user.username }}{% endblock %}
-
+{% block title %}Link accounts{% endblock %}
+{% block heading %}Link accounts for {{ user.username }}{% endblock %}
 
 {% block body %}
 
index bf30cec8acc6a7eb8d881f6090213bfae53f47b9..bf331520f3a4e2f5af125a0e418538f82418ab1d 100644 (file)
@@ -1,18 +1,14 @@
 {% extends "base.html" %}
 
-{% block title %}{{ user.username }}{% endblock %}
-{% block heading %}link accounts for {{ user.username }}{% endblock %}
-
+{% block title %}Link accounts{% endblock %}
+{% block heading %}Link accounts for {{ user.username }}{% endblock %}
 
 {% block body %}
-
 {% if confirmation and not error %}
 <p>A confirmation email has been sent to {{ confirmation.email }}. Click
 on the link provided in the email to confirm that this address belongs to
 you.</p>
-
 {% else %}
-
    {% if form.errors %}
    <p>There was an error submitting your link request.</p>
     {{ form.non_field_errors }}
@@ -26,7 +22,5 @@ you.</p>
     {{linkform.email.errors}}
     Link an email address: {{ linkform.email }}
    </form>
-
 {% endif %}
-
 {% endblock %}