diff options
author | Lauri Ojansivu <x@xet7.org> | 2017-08-26 03:14:31 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2017-08-26 03:14:31 +0300 |
commit | 84d40bd3e397165b879e15035823dcb92ad1e5ee (patch) | |
tree | f689f2795bddd5eca9fdcf359a8b411c20980344 /client/components/cards/cardDetails.jade | |
parent | 1b40c42cab9b6dd8b5248af92c7519b5b14cc525 (diff) | |
download | wekan-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.jade | 5 |
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'}} |