mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Fix Move card from a board to another does not work anymore.
Thanks to lezioul and xet7 ! Fixes wekan/wekan-snap#141
This commit is contained in:
parent
9b004d75c7
commit
9dd0fb88d6
2 changed files with 6 additions and 2 deletions
|
|
@ -354,7 +354,7 @@ template(name="cardDetailsActionsPopup")
|
||||||
a.js-start-voting
|
a.js-start-voting
|
||||||
i.fa.fa-thumbs-up
|
i.fa.fa-thumbs-up
|
||||||
| {{_ 'card-edit-voting'}}
|
| {{_ 'card-edit-voting'}}
|
||||||
if currentBoard.isBoardAdmin
|
if currentUser.isBoardAdmin
|
||||||
li
|
li
|
||||||
a.js-custom-fields
|
a.js-custom-fields
|
||||||
i.fa.fa-list-alt
|
i.fa.fa-list-alt
|
||||||
|
|
@ -383,7 +383,7 @@ template(name="cardDetailsActionsPopup")
|
||||||
| {{_ 'moveCardToBottom-title'}}
|
| {{_ 'moveCardToBottom-title'}}
|
||||||
hr
|
hr
|
||||||
ul.pop-over-list
|
ul.pop-over-list
|
||||||
if currentBoard.isBoardAdmin
|
if currentUser.isBoardAdmin
|
||||||
li
|
li
|
||||||
a.js-move-card
|
a.js-move-card
|
||||||
i.fa.fa-arrow-right
|
i.fa.fa-arrow-right
|
||||||
|
|
|
||||||
|
|
@ -567,6 +567,10 @@ Template.cardDetailsActionsPopup.helpers({
|
||||||
return this.findWatcher(Meteor.userId());
|
return this.findWatcher(Meteor.userId());
|
||||||
},
|
},
|
||||||
|
|
||||||
|
isBoardAdmin() {
|
||||||
|
return Meteor.user().isBoardAdmin();
|
||||||
|
},
|
||||||
|
|
||||||
canModifyCard() {
|
canModifyCard() {
|
||||||
return (
|
return (
|
||||||
Meteor.user() &&
|
Meteor.user() &&
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue