mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Modify mini cards so that received date is shown if there is no start date, and due date is shown if there is no end date.
This commit is contained in:
parent
93a7040c77
commit
ca51ace22d
1 changed files with 11 additions and 1 deletions
|
@ -10,12 +10,22 @@ template(name="minicard")
|
|||
+viewer
|
||||
= title
|
||||
.dates
|
||||
if receivedAt
|
||||
unless startAt
|
||||
unless dueAt
|
||||
unless endAt
|
||||
.date
|
||||
+miniCardReceivedDate
|
||||
if startAt
|
||||
.date
|
||||
+minicardStartDate
|
||||
if dueAt
|
||||
unless endAt
|
||||
.date
|
||||
+minicardDueDate
|
||||
if endAt
|
||||
.date
|
||||
+minicardDueDate
|
||||
+minicardEndDate
|
||||
if spentTime
|
||||
.date
|
||||
+cardSpentTime
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue