v2: Fix 'dowload' typo x 2 (Bryce Harrington)
Signed-off-by: Belén Barros Peña <belen.barros.pena@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Acked-by: Stephen Finucane <stephen.finucane@intel.com>
margin: 18px 0 18px 0;
}
+h2 a, h2 span {
+ font-size: 14px;
+ padding-left: 5px;
+ font-weight: normal;
+}
+
pre {
line-height: 110%;
background-color: white;
<tr>
<th>Message ID</th>
<td>{{ patch.msgid }}</td>
- </tr>
- <tr>
- <th>Download</th>
- <td>
- <a href="{% url 'patchwork.views.patch.mbox' patch_id=patch.id %}"
- >mbox</a>
-{% if patch.content %}|
- <a href="{% url 'patchwork.views.patch.content' patch_id=patch.id %}"
- >patch</a>
-{% endif %}
- </td>
</tr>
<tr>
<th>State</th>
{% endfor %}
{% if patch.content %}
-<h2>Patch</h2>
-<div class="patch">
+<h2>
+ Patch
+ <a href="javascript:toggle_headers('hide-patch', 'patch')" id="hide-patch">hide</a></span>
+{% if patch.content %}
+ <span>|</span>
+ <a href="{% url 'patchwork.views.patch.content' patch_id=patch.id %}"
+ >download patch</a>
+{% endif %}
+ <span>|</span>
+ <a href="{% url 'patchwork.views.patch.mbox' patch_id=patch.id %}"
+ >download mbox</a>
+</h2>
+<div id="patch" class="patch">
<pre class="content">
{{ patch|patchsyntax }}
</pre>