summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorRJevnikar <12701645+rjevnikar@users.noreply.github.com>2018-06-08 20:42:16 +0000
committerRJevnikar <12701645+rjevnikar@users.noreply.github.com>2018-06-08 20:42:16 +0000
commitca51ace22d6f5097a8d0dbf9a62e7248cce1c4a3 (patch)
treed33bd41de06be7299f3b2fab3ee8947b449b3036 /client
parent93a7040c7756bf8f758a53e5eeaaadb2dc517ce0 (diff)
downloadwekan-ca51ace22d6f5097a8d0dbf9a62e7248cce1c4a3.tar.gz
wekan-ca51ace22d6f5097a8d0dbf9a62e7248cce1c4a3.tar.bz2
wekan-ca51ace22d6f5097a8d0dbf9a62e7248cce1c4a3.zip
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.
Diffstat (limited to 'client')
-rw-r--r--client/components/cards/minicard.jade12
1 files changed, 11 insertions, 1 deletions
diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade
index aa0708dd..b44021a6 100644
--- a/client/components/cards/minicard.jade
+++ b/client/components/cards/minicard.jade
@@ -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