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