summaryrefslogtreecommitdiffstats
path: root/client/components/cards/cardDetails.jade
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-08-26 03:14:31 +0300
committerLauri Ojansivu <x@xet7.org>2017-08-26 03:14:31 +0300
commit84d40bd3e397165b879e15035823dcb92ad1e5ee (patch)
treef689f2795bddd5eca9fdcf359a8b411c20980344 /client/components/cards/cardDetails.jade
parent1b40c42cab9b6dd8b5248af92c7519b5b14cc525 (diff)
downloadwekan-84d40bd3e397165b879e15035823dcb92ad1e5ee.tar.gz
wekan-84d40bd3e397165b879e15035823dcb92ad1e5ee.tar.bz2
wekan-84d40bd3e397165b879e15035823dcb92ad1e5ee.zip
Copy card link to clipboard. Thanks to xet7 ! Closes #1188
Diffstat (limited to 'client/components/cards/cardDetails.jade')
-rw-r--r--client/components/cards/cardDetails.jade5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade
index 9a675e41..72f5653f 100644
--- a/client/components/cards/cardDetails.jade
+++ b/client/components/cards/cardDetails.jade
@@ -141,7 +141,10 @@ template(name="cardMorePopup")
span {{_ 'link-card'}}
= ' '
i.fa.colorful(class="{{#if board.isPublic}}fa-globe{{else}}fa-lock{{/if}}")
- input.inline-input(type="text" readonly value="{{ absoluteUrl }}")
+ input.inline-input(type="text" id="cardURL" readonly value="{{ absoluteUrl }}")
+ button.js-copy-card-link-to-clipboard(class="btn") {{_ 'copy-card-link-to-clipboard'}}
+ span.clearfix
+ br
| {{_ 'added'}}
span.date(title=card.createdAt) {{ moment createdAt 'LLL' }}
a.js-delete(title="{{_ 'card-delete-notice'}}") {{_ 'delete'}}