]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
ui: Use <h1> for page titles
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 18 Dec 2015 16:50:15 +0000 (16:50 +0000)
committerStephen Finucane <stephen.finucane@intel.com>
Mon, 8 Feb 2016 19:03:41 +0000 (19:03 +0000)
<h2> is used for titles within the page, but shouldn't be used for page
titles, which are a level higher.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Acked-by: Stephen Finucane <stephen.finucane@intel.com>
patchwork/templates/patchwork/bundles.html
patchwork/templates/patchwork/list.html
patchwork/templates/patchwork/patch.html
patchwork/templates/patchwork/profile.html
patchwork/templates/patchwork/project.html
patchwork/templates/patchwork/todo-list.html
patchwork/templates/patchwork/todo-lists.html

index 35235fbf6c43e9f92956f569581b2a6d00521a90..6467a30744aea96a5390757ac3439d2cda648beb 100644 (file)
@@ -7,6 +7,7 @@
 {% block bundle_active %}active{% endblock %}
 
 {% block body %}
+<h1>Bundles</h1>
 
 {% if bundles %}
 <table class="bundlelist">
index df25bb5e9935377d1b50e8bb9538999f93f921ee..fc33d7bdb1d13ad1363b09fc372cab7cb93d4c52 100644 (file)
@@ -9,7 +9,7 @@
 
 {% block body %}
 
-<h2>Incoming Patches</h2>
+<h1>Patches</h1>
 
 {% if errors %}
 <p>The following error{{ errors|length|pluralize:" was,s were" }} encountered
index b5d0eb7d941ebb3db217aa0b318aedb036aeffdc..ae9355dcfa86bc776359da849b429515082586e4 100644 (file)
@@ -27,7 +27,7 @@ function toggle_headers(link_id, headers_id)
 }
 </script>
 
-<h2>{{ patch.name }}</h2>
+<h1>{{ patch.name }}</h1>
 <div class="core-info">
     <span>Submitted by {{ patch.submitter|personify:project }} on {{ patch.date }}</span>
 </div>
index acc90de00d8fed25d6c2741ffd9d80ef896c6e8c..2ec2db1b555de4572ba313582253202969c0d318 100644 (file)
@@ -5,6 +5,7 @@
 
 
 {% block body %}
+<h1>Your Profile</h1>
 
 <p>
 {% if user.profile.maintainer_projects.count %}
index 5238ba481c00a0076ed0a1b12aa9b7ceba72ab88..b84e5dcfc798b4747920fed38eb1a15c3718e60e 100644 (file)
@@ -5,6 +5,7 @@
 {% block info_active %}active{% endblock %}
 
 {% block body %}
+<h1>About {{project.name}}</h1>
 
 <table class="horizontal">
  <tr>
index b3019017e3cf8389ac1d5ba181d395091638a236..5e60446a73caa4fb438caa854e6093e424d2f95c 100644 (file)
@@ -6,6 +6,7 @@
 {% block heading %}{{user}}'s todo list for {{ project.linkname }}{% endblock %}
 
 {% block body %}
+<h1>TODO</h1>
 
 <p>A Patchwork Todo-list contains patches that are assigned to you, and
 are in an "action required" state
index 6365f59ab39db46fcf5f2006ecf79b419687d0b3..352ca5d1123e0352d1da6de793709eced5023cc1 100644 (file)
@@ -4,6 +4,7 @@
 {% block heading %}{{ user }}'s todo lists{% endblock %}
 
 {% block body %}
+<h1>TODO</h1>
 
 {% if todo_lists %}
 <p>You have multiple todo lists. Each todo list contains patches for a single