diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-01-25 19:04:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-25 19:04:45 +0200 |
commit | 4a2576fbc200d397bcf7cede45316d9fb7e520dd (patch) | |
tree | eede4ef6e004aed94909ddf02a48ca9bd97742a0 /models/cards.js | |
parent | 542cc75dc4a4bf392cac72345ab013cf59c67ad3 (diff) | |
parent | 6e9bad57723919dc3fd63a5748902e9049320603 (diff) | |
download | wekan-4a2576fbc200d397bcf7cede45316d9fb7e520dd.tar.gz wekan-4a2576fbc200d397bcf7cede45316d9fb7e520dd.tar.bz2 wekan-4a2576fbc200d397bcf7cede45316d9fb7e520dd.zip |
Merge pull request #2121 from bentiss/color
Color picker in IFTTT
Diffstat (limited to 'models/cards.js')
-rw-r--r-- | models/cards.js | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/models/cards.js b/models/cards.js index c5d9bf05..9b32e89a 100644 --- a/models/cards.js +++ b/models/cards.js @@ -69,7 +69,7 @@ Cards.attachSchema(new SimpleSchema({ type: String, optional: true, allowedValues: [ - 'green', 'yellow', 'orange', 'red', 'purple', + 'white', 'green', 'yellow', 'orange', 'red', 'purple', 'blue', 'sky', 'lime', 'pink', 'black', 'silver', 'peachpuff', 'crimson', 'plum', 'darkgreen', 'slateblue', 'magenta', 'gold', 'navy', 'gray', @@ -1571,13 +1571,16 @@ if (Meteor.isServer) { * * @description Edit a card * - * The color has to be chosen between `green`, `yellow`, `orange`, `red`, - * `purple`, `blue`, `sky`, `lime`, `pink`, `black`, `silver`, `peachpuff`, - * `crimson`, `plum`, `darkgreen`, `slateblue`, `magenta`, `gold`, `navy`, - * `gray`, `saddlebrown`, `paleturquoise`, `mistyrose`, `indigo`: + * The color has to be chosen between `white`, `green`, `yellow`, `orange`, + * `red`, `purple`, `blue`, `sky`, `lime`, `pink`, `black`, `silver`, + * `peachpuff`, `crimson`, `plum`, `darkgreen`, `slateblue`, `magenta`, + * `gold`, `navy`, `gray`, `saddlebrown`, `paleturquoise`, `mistyrose`, + * `indigo`: * * <img src="/card-colors.png" width="40%" alt="Wekan card colors" /> * + * Note: setting the color to white has the same effect than removing it. + * * @param {string} boardId the board ID of the card * @param {string} list the list ID of the card * @param {string} cardId the ID of the card |