mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
IFTTT: card colors: add an actual white entry
To unset the color through the IFTTT, we need a white entry. However, we do not want to show the white enry in the hamburger `Set Color` entry. We can also give the `white` capability to the API, it won't hurt and be more straightforward.
This commit is contained in:
parent
5769d438a0
commit
6e9bad5772
4 changed files with 19 additions and 8 deletions
|
|
@ -339,9 +339,10 @@ template(name="cardMorePopup")
|
|||
template(name="setCardColorPopup")
|
||||
form.edit-label
|
||||
.palette-colors: each colors
|
||||
span.card-label.palette-color.js-palette-color(class="card-details-{{color}}")
|
||||
if(isSelected color)
|
||||
i.fa.fa-check
|
||||
unless $eq color 'white'
|
||||
span.card-label.palette-color.js-palette-color(class="card-details-{{color}}")
|
||||
if(isSelected color)
|
||||
i.fa.fa-check
|
||||
button.primary.confirm.js-submit {{_ 'save'}}
|
||||
button.js-remove-color.negate.wide.right {{_ 'unset-color'}}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue