diff options
author | Lauri Ojansivu <x@xet7.org> | 2017-02-11 23:01:50 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2017-02-11 23:01:50 +0200 |
commit | d6028b90cd64fbe5b2a669a191616d8c37c14d1e (patch) | |
tree | 2c992180092081f81083079982c427d8dd9f6ec4 /client/components/cards/minicard.jade | |
parent | c7f30c96fceb61ee876a6ae0f730838d3186a4cd (diff) | |
download | wekan-d6028b90cd64fbe5b2a669a191616d8c37c14d1e.tar.gz wekan-d6028b90cd64fbe5b2a669a191616d8c37c14d1e.tar.bz2 wekan-d6028b90cd64fbe5b2a669a191616d8c37c14d1e.zip |
Make Due Date layout nicer on minicard. Thanks to whittssg2!
Diffstat (limited to 'client/components/cards/minicard.jade')
-rw-r--r-- | client/components/cards/minicard.jade | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade index 8b46ee74..5409ec62 100644 --- a/client/components/cards/minicard.jade +++ b/client/components/cards/minicard.jade @@ -7,6 +7,13 @@ template(name="minicard") each labels .minicard-label(class="card-label-{{color}}" title="{{name}}") .minicard-title= title + .dates + if startAt + .date + +minicardStartDate + if dueAt + .date + +minicardDueDate if members .minicard-members.js-minicard-members each members @@ -23,14 +30,7 @@ template(name="minicard") .badge span.badge-icon.fa.fa-paperclip span.badge-text= attachments.count - if startAt - .badge - +minicardStartDate - if dueAt - .badge - +minicardDueDate if checklists.count .badge(class="{{#if checklistFinished}}is-finished{{/if}}") span.badge-icon.fa.fa-check-square-o span.badge-text.check-list-text {{checklistFinishedCount}}/{{checklistItemCount}} - |