mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04: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
|
||||
//li.attachment-item.add-attachment
|
||||
a.js-add-attachment
|
||||
i.fa.fa-paperclip
|
||||
i.fa.fa-plus
|
||||
| {{_ 'add-attachment' }}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue