mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Part 2: Fix Copy Card Link to Clipboard button at card title did not work.
Thanks to 2020product and xet7 ! Related https://github.com/wekan/wekan/pull/2922
This commit is contained in:
parent
799bf5735b
commit
4467a68b97
2 changed files with 7 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ template(name="cardDetails")
|
||||||
a.fa.fa-times-thin.close-card-details.js-close-card-details
|
a.fa.fa-times-thin.close-card-details.js-close-card-details
|
||||||
if currentUser.isBoardMember
|
if currentUser.isBoardMember
|
||||||
a.fa.fa-navicon.card-details-menu.js-open-card-details-menu
|
a.fa.fa-navicon.card-details-menu.js-open-card-details-menu
|
||||||
input.inline-input(type="hidden" id="cardURL_copy" value="{{ absoluteUrl }}")
|
input.inline-input(type="text" id="cardURL_copy" value="{{ absoluteUrl }}")
|
||||||
a.fa.fa-link.card-copy-button.js-copy-link(
|
a.fa.fa-link.card-copy-button.js-copy-link(
|
||||||
class="fa-link"
|
class="fa-link"
|
||||||
title="{{_ 'copy-card-link-to-clipboard'}}"
|
title="{{_ 'copy-card-link-to-clipboard'}}"
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,12 @@
|
||||||
|
|
||||||
avatar-radius = 50%
|
avatar-radius = 50%
|
||||||
|
|
||||||
|
#cardURL_copy
|
||||||
|
// Have clipboard text not visible by moving it to far left
|
||||||
|
position: absolute
|
||||||
|
left: -2000px
|
||||||
|
top: 0px
|
||||||
|
|
||||||
.assignee
|
.assignee
|
||||||
border-radius: 3px
|
border-radius: 3px
|
||||||
display: block
|
display: block
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue