Skip to content

Commit

Permalink
templates/submission: add button to copy the message ID to clipboard
Browse files Browse the repository at this point in the history
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 <ross.burton@arm.com>
  • Loading branch information
rossburton authored and stephenfin committed Jan 16, 2024
1 parent e073d59 commit 0f6a2ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions patchwork/templates/patchwork/submission.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ <h1>{{ submission.name }}</h1>
{% if submission.list_archive_url %}
(<a href="{{ submission.list_archive_url }}">mailing list archive</a>)
{% endif %}
<span class="btn-link btn-copy glyphicon glyphicon-copy" data-clipboard-text="{{ submission.url_msgid }}" title="Copy to Clipboard"></span>
</td>
</tr>
{% if submission.state %}
Expand Down

0 comments on commit 0f6a2ba

Please sign in to comment.