mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Add additional label colours (from pull by JamesLavin), Add Assigned & Requested By text fields.
This commit is contained in:
parent
d6eff2a074
commit
3ce3fa74b3
49 changed files with 155 additions and 19829 deletions
|
|
@ -94,6 +94,9 @@ Boards.attachSchema(new SimpleSchema({
|
|||
allowedValues: [
|
||||
'green', 'yellow', 'orange', 'red', 'purple',
|
||||
'blue', 'sky', 'lime', 'pink', 'black',
|
||||
'silver', 'peachpuff', 'crimson', 'plum', 'darkgreen',
|
||||
'slateblue', 'magenta', 'gold', 'navy', 'gray',
|
||||
'saddlebrown', 'paleturquoise', 'mistyrose', 'indigo',
|
||||
],
|
||||
},
|
||||
// XXX We might want to maintain more informations under the member sub-
|
||||
|
|
|
|||
|
|
@ -66,6 +66,14 @@ Cards.attachSchema(new SimpleSchema({
|
|||
type: String,
|
||||
optional: true,
|
||||
},
|
||||
requestedBy: {
|
||||
type: String,
|
||||
optional: true
|
||||
},
|
||||
assignedBy: {
|
||||
type: String,
|
||||
optional: true
|
||||
},
|
||||
labelIds: {
|
||||
type: [String],
|
||||
optional: true,
|
||||
|
|
@ -268,6 +276,14 @@ Cards.mutations({
|
|||
return {$set: {description}};
|
||||
},
|
||||
|
||||
setRequestedBy(requestedBy) {
|
||||
return {$set: {requestedBy}};
|
||||
},
|
||||
|
||||
setAssignedBy(assignedBy) {
|
||||
return {$set: {assignedBy}};
|
||||
},
|
||||
|
||||
move(swimlaneId, listId, sortIndex) {
|
||||
const list = Lists.findOne(listId);
|
||||
const mutatedFields = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue