[PATCH v2 3/5] templates: Add "Sent From" to the patch template
Doug Anderson
dianders at chromium.org
Mon Nov 18 17:00:40 EST 2013
This allows you to see both the submitter name as patchwork
understands it and also the name/email address that the patch was sent
from.
While we're at it, remove an extra </tr> from the Submitter line.
Signed-off-by: Doug Anderson <dianders at chromium.org>
---
templates/patchwork/patch.html | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/templates/patchwork/patch.html b/templates/patchwork/patch.html
index 813622b..cc5db85 100644
--- a/templates/patchwork/patch.html
+++ b/templates/patchwork/patch.html
@@ -30,8 +30,14 @@ function toggle_headers(link_id, headers_id)
<table class="patchmeta">
<tr>
<th>Submitter</th>
- <td>{{ patch.submitter|personify }}</td></tr>
+ <td>{{ patch.submitter|personify }}</td>
</tr>
+{% if patch.need_sent_from %}
+ <tr>
+ <th>Sent From</th>
+ <td>{{ patch.sent_from }}</td>
+ </tr>
+{% endif %}
<tr>
<th>Date</th>
<td>{{ patch.date }}</td>
--
1.8.4.1
More information about the Patchwork
mailing list