mirror of
https://github.com/wekan/wekan.git
synced 2026-02-15 12:38:06 +01:00
Add additional dates (received & end), default title of checklists to 'Checklist'
Remove translations Add additional dates (received & end), default name checklists to Checklist
This commit is contained in:
parent
80941e57d3
commit
07217d0e51
51 changed files with 209 additions and 18455 deletions
|
|
@ -59,6 +59,10 @@ Cards.attachSchema(new SimpleSchema({
|
|||
type: [String],
|
||||
optional: true,
|
||||
},
|
||||
receivedAt: {
|
||||
type: Date,
|
||||
optional: true,
|
||||
},
|
||||
startAt: {
|
||||
type: Date,
|
||||
optional: true,
|
||||
|
|
@ -67,6 +71,10 @@ Cards.attachSchema(new SimpleSchema({
|
|||
type: Date,
|
||||
optional: true,
|
||||
},
|
||||
endAt: {
|
||||
type: Date,
|
||||
optional: true,
|
||||
},
|
||||
spentTime: {
|
||||
type: Number,
|
||||
decimal: true,
|
||||
|
|
@ -271,6 +279,14 @@ Cards.mutations({
|
|||
return {$unset: {coverId: ''}};
|
||||
},
|
||||
|
||||
setReceived(receivedAt) {
|
||||
return {$set: {receivedAt}};
|
||||
},
|
||||
|
||||
unsetReceived() {
|
||||
return {$unset: {receivedAt: ''}};
|
||||
},
|
||||
|
||||
setStart(startAt) {
|
||||
return {$set: {startAt}};
|
||||
},
|
||||
|
|
@ -287,6 +303,14 @@ Cards.mutations({
|
|||
return {$unset: {dueAt: ''}};
|
||||
},
|
||||
|
||||
setEnd(endAt) {
|
||||
return {$set: {endAt}};
|
||||
},
|
||||
|
||||
unsetEnd() {
|
||||
return {$unset: {endAt: ''}};
|
||||
},
|
||||
|
||||
setOvertime(isOvertime) {
|
||||
return {$set: {isOvertime}};
|
||||
},
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ Checklists.attachSchema(new SimpleSchema({
|
|||
},
|
||||
title: {
|
||||
type: String,
|
||||
defaultValue: 'Checklist',
|
||||
},
|
||||
finishedAt: {
|
||||
type: Date,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue