Copy ID to clipboard for Tasks as well
This commit is contained in:
@@ -7,6 +7,12 @@
|
||||
type="text",
|
||||
placeholder='Name',
|
||||
value="{{ task.name | hide_none }}")
|
||||
button.copy-to-clipboard.btn.item-id(
|
||||
name="Copy to Clipboard",
|
||||
type="text",
|
||||
data-clipboard-text="{{ task._id }}",
|
||||
title="Copy ID to clipboard")
|
||||
| ID
|
||||
|
||||
.input-transparent-group
|
||||
textarea.input-transparent(
|
||||
@@ -71,3 +77,5 @@ script.
|
||||
if (ProjectUtils.context() == 'shot'){
|
||||
$('.field-type').hide();
|
||||
}
|
||||
|
||||
new Clipboard('.copy-to-clipboard');
|
||||
|
Reference in New Issue
Block a user