summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Turk <erik.turk@ontera.ca>2018-02-05 13:27:47 -0500
committerErik Turk <erik.turk@ontera.ca>2018-02-05 13:27:47 -0500
commit326b4c53505596497372061f5f67057f0eaf8eca (patch)
tree2202d83ac8c9422924d5cc49a9206a2393debefa
parentf3ed6ee6f68731ce7a99f783630730fc4e5a2e4f (diff)
downloadwekan-326b4c53505596497372061f5f67057f0eaf8eca.tar.gz
wekan-326b4c53505596497372061f5f67057f0eaf8eca.tar.bz2
wekan-326b4c53505596497372061f5f67057f0eaf8eca.zip
added copyManyCard
-rw-r--r--client/components/cards/cardDetails.jade14
1 files changed, 14 insertions, 0 deletions
diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade
index 0a7a8cd6..a41c01ce 100644
--- a/client/components/cards/cardDetails.jade
+++ b/client/components/cards/cardDetails.jade
@@ -135,6 +135,7 @@ template(name="cardDetailsActionsPopup")
ul.pop-over-list
li: a.js-move-card {{_ 'moveCardPopup-title'}}
li: a.js-copy-card {{_ 'copyCardPopup-title'}}
+ li: a.js-copy-many-card {{_ 'copyManyCardPopup-title'}}
unless archived
li: a.js-archive {{_ 'archive-card'}}
li: a.js-more {{_ 'cardMorePopup-title'}}
@@ -154,6 +155,19 @@ template(name="copyCardPopup")
else
+boardsAndLists
+
+template(name="copyManyCardPopup")
+ label(for='copy-many-card-title') {{_ 'title'}}:
+ textarea#copy-card-title.minicard-composer-textarea.js-card-title(autofocus)
+ = title
+ if isSandstorm
+ +boardLists
+ else
+ +boardsAndLists
+
+template(name="boardsAndLists")
+
+
template(name="boardsAndLists")
select.js-select-boards
each boards