[PATCH 1/2] templates: Move download buttons outside h1 tag
Andrew Donnellan
ajd at linux.ibm.com
Mon Oct 21 18:37:30 AEDT 2019
It's not valid to put a <div> inside an <h1>. Move the download buttons in
the submission template outside the <h1> tag.
Signed-off-by: Andrew Donnellan <ajd at linux.ibm.com>
---
patchwork/templates/patchwork/submission.html | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/patchwork/templates/patchwork/submission.html b/patchwork/templates/patchwork/submission.html
index b5b55dbd9241..407f9ece85fb 100644
--- a/patchwork/templates/patchwork/submission.html
+++ b/patchwork/templates/patchwork/submission.html
@@ -27,9 +27,8 @@ function toggle_div(link_id, headers_id)
}
</script>
-<h1>{{ submission.name }}
{% include "patchwork/partials/download-buttons.html" %}
-</h1>
+<h1>{{ submission.name }}</h1>
<table class="patchmeta">
<tr>
@@ -273,10 +272,8 @@ function toggle_div(link_id, headers_id)
{% endfor %}
{% if submission.diff %}
-<h2>
- Patch
- {% include "patchwork/partials/download-buttons.html" %}
-</h2>
+{% include "patchwork/partials/download-buttons.html" %}
+<h2>Patch</h2>
<div id="patch" class="patch">
<pre class="content">
--
2.20.1
More information about the Patchwork
mailing list