Skip to content

Commit 0f6a2ba

Browse files
rossburtonstephenfin
authored andcommitted
templates/submission: add button to copy the message ID to clipboard
Add an icon alongside the message ID to copy the message ID to the clipboard, to ease integration with eg b4. Signed-off-by: Ross Burton <[email protected]>
1 parent e073d59 commit 0f6a2ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

patchwork/templates/patchwork/submission.html

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ <h1>{{ submission.name }}</h1>
2828
{% if submission.list_archive_url %}
2929
(<a href="{{ submission.list_archive_url }}">mailing list archive</a>)
3030
{% endif %}
31+
<span class="btn-link btn-copy glyphicon glyphicon-copy" data-clipboard-text="{{ submission.url_msgid }}" title="Copy to Clipboard"></span>
3132
</td>
3233
</tr>
3334
{% if submission.state %}

0 commit comments

Comments
 (0)