mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Improvements on card details visualization.
Thanks to helioguardabaxo and xet7 ! Closes #2974
This commit is contained in:
parent
d599fc12ff
commit
6b902bdb36
2 changed files with 8 additions and 5 deletions
|
|
@ -55,5 +55,5 @@ template(name="attachmentsGalery")
|
||||||
unless currentUser.isWorker
|
unless currentUser.isWorker
|
||||||
//li.attachment-item.add-attachment
|
//li.attachment-item.add-attachment
|
||||||
a.js-add-attachment
|
a.js-add-attachment
|
||||||
i.fa.fa-paperclip
|
i.fa.fa-plus
|
||||||
| {{_ 'add-attachment' }}
|
| {{_ 'add-attachment' }}
|
||||||
|
|
|
||||||
|
|
@ -203,6 +203,7 @@ template(name="cardDetails")
|
||||||
if canModifyCard
|
if canModifyCard
|
||||||
unless currentUser.isWorker
|
unless currentUser.isWorker
|
||||||
if currentBoard.allowsDescriptionTitle
|
if currentBoard.allowsDescriptionTitle
|
||||||
|
hr
|
||||||
h3
|
h3
|
||||||
i.fa.fa-align-left
|
i.fa.fa-align-left
|
||||||
card-details-item-title {{_ 'description'}}
|
card-details-item-title {{_ 'description'}}
|
||||||
|
|
@ -229,6 +230,7 @@ template(name="cardDetails")
|
||||||
a.js-close-inlined-form {{_ 'discard'}}
|
a.js-close-inlined-form {{_ 'discard'}}
|
||||||
else if getDescription
|
else if getDescription
|
||||||
if currentBoard.allowsDescriptionTitle
|
if currentBoard.allowsDescriptionTitle
|
||||||
|
hr
|
||||||
h3.card-details-item-title {{_ 'description'}}
|
h3.card-details-item-title {{_ 'description'}}
|
||||||
if currentBoard.allowsDescriptionText
|
if currentBoard.allowsDescriptionText
|
||||||
+viewer
|
+viewer
|
||||||
|
|
@ -237,15 +239,16 @@ template(name="cardDetails")
|
||||||
.card-checklist-attachmentGalerys
|
.card-checklist-attachmentGalerys
|
||||||
.card-checklist-attachmentGalery.card-checklists
|
.card-checklist-attachmentGalery.card-checklists
|
||||||
if currentBoard.allowsChecklists
|
if currentBoard.allowsChecklists
|
||||||
|
hr
|
||||||
+checklists(cardId = _id)
|
+checklists(cardId = _id)
|
||||||
if currentBoard.allowsSubtasks
|
if currentBoard.allowsSubtasks
|
||||||
hr
|
hr
|
||||||
+subtasks(cardId = _id)
|
+subtasks(cardId = _id)
|
||||||
if currentBoard.allowsAttachments
|
if currentBoard.allowsAttachments
|
||||||
//- hr
|
hr
|
||||||
//- h3
|
h3
|
||||||
//- i.fa.fa-paperclip
|
i.fa.fa-paperclip
|
||||||
//- | {{_ 'attachments'}}
|
| {{_ 'attachments'}}
|
||||||
.card-checklist-attachmentGalery.card-attachmentGalery
|
.card-checklist-attachmentGalery.card-attachmentGalery
|
||||||
+attachmentsGalery
|
+attachmentsGalery
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue