diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-03-31 23:56:37 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2020-03-31 23:56:37 +0300 |
commit | 6b902bdb36205d74ac89d08fe4d91cc425c37fb6 (patch) | |
tree | e43496acd83b260a6bd4d1cef0888338677e79f5 /client | |
parent | d599fc12ff585289dc314a0f58643f1493b99d8b (diff) | |
download | wekan-6b902bdb36205d74ac89d08fe4d91cc425c37fb6.tar.gz wekan-6b902bdb36205d74ac89d08fe4d91cc425c37fb6.tar.bz2 wekan-6b902bdb36205d74ac89d08fe4d91cc425c37fb6.zip |
Improvements on card details visualization.
Thanks to helioguardabaxo and xet7 !
Closes #2974
Diffstat (limited to 'client')
-rw-r--r-- | client/components/cards/attachments.jade | 2 | ||||
-rw-r--r-- | client/components/cards/cardDetails.jade | 11 |
2 files changed, 8 insertions, 5 deletions
diff --git a/client/components/cards/attachments.jade b/client/components/cards/attachments.jade index b695ea41..61454fa7 100644 --- a/client/components/cards/attachments.jade +++ b/client/components/cards/attachments.jade @@ -55,5 +55,5 @@ template(name="attachmentsGalery") unless currentUser.isWorker //li.attachment-item.add-attachment a.js-add-attachment - i.fa.fa-paperclip + i.fa.fa-plus | {{_ 'add-attachment' }} diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade index 615ae1d5..257ca0a8 100644 --- a/client/components/cards/cardDetails.jade +++ b/client/components/cards/cardDetails.jade @@ -203,6 +203,7 @@ template(name="cardDetails") if canModifyCard unless currentUser.isWorker if currentBoard.allowsDescriptionTitle + hr h3 i.fa.fa-align-left card-details-item-title {{_ 'description'}} @@ -229,6 +230,7 @@ template(name="cardDetails") a.js-close-inlined-form {{_ 'discard'}} else if getDescription if currentBoard.allowsDescriptionTitle + hr h3.card-details-item-title {{_ 'description'}} if currentBoard.allowsDescriptionText +viewer @@ -237,15 +239,16 @@ template(name="cardDetails") .card-checklist-attachmentGalerys .card-checklist-attachmentGalery.card-checklists if currentBoard.allowsChecklists + hr +checklists(cardId = _id) if currentBoard.allowsSubtasks hr +subtasks(cardId = _id) if currentBoard.allowsAttachments - //- hr - //- h3 - //- i.fa.fa-paperclip - //- | {{_ 'attachments'}} + hr + h3 + i.fa.fa-paperclip + | {{_ 'attachments'}} .card-checklist-attachmentGalery.card-attachmentGalery +attachmentsGalery |