summaryrefslogtreecommitdiffstats
path: root/client/components/cards/cardDetails.jade
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-11-20 17:46:34 +0200
committerLauri Ojansivu <x@xet7.org>2017-11-20 17:46:34 +0200
commitb592e8ad14ab5ae8de7605e5870a9fe703d15874 (patch)
treeb76fe2df6f7d2641200089eeb56c6799113e5cdc /client/components/cards/cardDetails.jade
parentdfd0b2194746208c85b16fd485e7ca6f0cc34b57 (diff)
parentce4f1589762e82dd9175444eeca4d6d0e2f79d1e (diff)
downloadwekan-b592e8ad14ab5ae8de7605e5870a9fe703d15874.tar.gz
wekan-b592e8ad14ab5ae8de7605e5870a9fe703d15874.tar.bz2
wekan-b592e8ad14ab5ae8de7605e5870a9fe703d15874.zip
Merge branch 'feature/copy-move-cards-x-boards' of https://github.com/GhassenRjab/wekan into GhassenRjab-feature/copy-move-cards-x-boards
Diffstat (limited to 'client/components/cards/cardDetails.jade')
-rw-r--r--client/components/cards/cardDetails.jade25
1 files changed, 23 insertions, 2 deletions
diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade
index b6572251..c2ee4e8d 100644
--- a/client/components/cards/cardDetails.jade
+++ b/client/components/cards/cardDetails.jade
@@ -132,14 +132,35 @@ template(name="cardDetailsActionsPopup")
li: a.js-more {{_ 'cardMorePopup-title'}}
template(name="moveCardPopup")
- +boardLists
+ if isSandstorm
+ +boardLists
+ else
+ +boardsAndLists
template(name="copyCardPopup")
label(for='copy-card-title') {{_ 'title'}}:
textarea#copy-card-title.minicard-composer-textarea.js-card-title(autofocus)
= title
+ if isSandstorm
+ +boardLists
+ else
+ +boardsAndLists
+
+template(name="boardsAndLists")
+ select.js-select-boards
+ each boards
+ if $eq _id currentBoard._id
+ option(value="{{_id}}" selected) {{_ 'current'}}
+ else
+ option(value="{{_id}}") {{title}}
label {{_ 'lists'}}:
- +boardLists
+ ul.pop-over-list
+ each aBoardLists
+ li
+ if($eq ../_id _id)
+ a.disabled {{title}} ({{_ 'current'}})
+ else
+ a.js-select-list= title
template(name="cardMembersPopup")
ul.pop-over-list.js-card-member-list