]> git.ipfire.org Git - thirdparty/patchwork.git/commit
'mpe mode': click to copy patch IDs
authorDaniel Axtens <dja@axtens.net>
Mon, 27 Mar 2017 05:42:51 +0000 (16:42 +1100)
committerStephen Finucane <stephen@that.guru>
Sat, 15 Apr 2017 11:51:43 +0000 (12:51 +0100)
commit6e32965b04cc326a678a7b7a499f1389e44b6de9
tree721a34e0cddcf62ae4d756db5ef2108b0ef53eab
parent562b4c66f292bb4a37804a9a9b53e3f85305cafe
'mpe mode': click to copy patch IDs

If 'Show Patch IDs' is turned on in settings, add an extra column
to the patch list, with buttons showing the patch IDs. The buttons
copy the patch IDs to the clipboard.

JavaScript inspired by https://github.com/Triforcey/clip-j and many
many StackOverflow answers.

Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Stephen Finucane <stephen@that.guru>
patchwork/forms.py
patchwork/migrations/0019_userprofile_show_ids.py [new file with mode: 0644]
patchwork/models.py
patchwork/templates/patchwork/patch-list.html