mirror of
https://github.com/wekan/wekan.git
synced 2026-03-05 05:10:15 +01:00
Feature: Copy Card Details code block to clipboard.
Thanks to C0rn3j and xet7 ! Fixes #5149
This commit is contained in:
parent
7724b0d5bb
commit
0cc63b810c
4 changed files with 48 additions and 6 deletions
|
|
@ -196,6 +196,9 @@
|
|||
margin-right: 10px;
|
||||
padding: 10px;
|
||||
}
|
||||
.card-details .card-description i.fa.fa-pencil-square-o {
|
||||
float: right;
|
||||
}
|
||||
.card-details .card-description textarea {
|
||||
min-height: 100px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -524,12 +524,13 @@ template(name="cardDetails")
|
|||
a.fa.fa-times-thin.js-close-inlined-form
|
||||
else
|
||||
if currentBoard.allowsDescriptionText
|
||||
a.js-open-inlined-form
|
||||
if getDescription
|
||||
+viewer
|
||||
= getDescription
|
||||
else
|
||||
| {{_ 'edit'}}
|
||||
a.js-open-inlined-form.right(title="{{_ 'edit'}}" value=title)
|
||||
i.fa.fa-pencil-square-o
|
||||
if getDescription
|
||||
+viewer
|
||||
= getDescription
|
||||
else
|
||||
| {{_ 'edit'}}
|
||||
if (hasUnsavedValue 'cardDescription' _id)
|
||||
p.quiet
|
||||
| {{_ 'unsaved-description'}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue