Skip to content

Commit 28c6e7b

Browse files
rossburtonstephenfin
authored andcommitted
templates/submission: remove duplication when writing the Message ID
The output is identical, but this removes the duplication of the Message ID itself in the source. Signed-off-by: Ross Burton <[email protected]>
1 parent 3e06c66 commit 28c6e7b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

patchwork/templates/patchwork/submission.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,12 @@ <h1>{{ submission.name }}</h1>
2323
<table id="patch-meta" class="patch-meta" data-submission-type={{submission|verbose_name_plural|lower}} data-submission-id={{submission.id}}>
2424
<tr>
2525
<th>Message ID</th>
26+
<td>
27+
{{ submission.url_msgid }}
2628
{% if submission.list_archive_url %}
27-
<td>{{ submission.url_msgid }} (<a href="{{ submission.list_archive_url }}">mailing list archive</a>)</td>
28-
{% else %}
29-
<td>{{ submission.url_msgid }}</td>
29+
(<a href="{{ submission.list_archive_url }}">mailing list archive</a>)
3030
{% endif %}
31+
</td>
3132
</tr>
3233
{% if submission.state %}
3334
<tr>

0 commit comments

Comments
 (0)