diff options
author | Andrés Manelli <andresmanelli@gmail.com> | 2019-03-08 20:41:20 +0100 |
---|---|---|
committer | Andrés Manelli <andresmanelli@gmail.com> | 2019-03-08 20:41:32 +0100 |
commit | 97822f35fd6365e5631c5488e8ee595f76ab4e34 (patch) | |
tree | 8c0f04fc32a73f20bcc722ae5597d616126177ed /client/components/cards/cardDetails.jade | |
parent | c5e72d1a2b7326ba21e5e0f01b370d37e59c67f7 (diff) | |
download | wekan-97822f35fd6365e5631c5488e8ee595f76ab4e34.tar.gz wekan-97822f35fd6365e5631c5488e8ee595f76ab4e34.tar.bz2 wekan-97822f35fd6365e5631c5488e8ee595f76ab4e34.zip |
Avoid set self as parent card, for real
Diffstat (limited to 'client/components/cards/cardDetails.jade')
-rw-r--r-- | client/components/cards/cardDetails.jade | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade index df76edce..5fd7b748 100644 --- a/client/components/cards/cardDetails.jade +++ b/client/components/cards/cardDetails.jade @@ -306,27 +306,27 @@ template(name="cardMorePopup") h2 {{_ 'change-card-parent'}} label {{_ 'source-board'}}: select.js-field-parent-board + if isTopLevel + option(value="none" selected) {{_ 'custom-field-dropdown-none'}} + else + option(value="none") {{_ 'custom-field-dropdown-none'}} each boards if isParentBoard option(value="{{_id}}" selected) {{title}} else option(value="{{_id}}") {{title}} - if isTopLevel - option(value="none" selected) {{_ 'custom-field-dropdown-none'}} - else - option(value="none") {{_ 'custom-field-dropdown-none'}} label {{_ 'parent-card'}}: select.js-field-parent-card if isTopLevel option(value="none" selected) {{_ 'custom-field-dropdown-none'}} else + option(value="none") {{_ 'custom-field-dropdown-none'}} each cards if isParentCard option(value="{{_id}}" selected) {{title}} else option(value="{{_id}}") {{title}} - option(value="none") {{_ 'custom-field-dropdown-none'}} br | {{_ 'added'}} span.date(title=card.createdAt) {{ moment createdAt 'LLL' }} |