summaryrefslogtreecommitdiffstats
path: root/client/components/swimlanes/swimlaneHeader.jade
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-01-24 15:16:13 +0100
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-01-24 20:51:38 +0100
commit416b17062e57f215206e93a85b02ef9eb1ab4902 (patch)
treefda49dbeb9edeb91a5b4916abe45c849e7b1f540 /client/components/swimlanes/swimlaneHeader.jade
parentdd88eb4cc191a06f7eb84213b026dfb93546f245 (diff)
downloadwekan-416b17062e57f215206e93a85b02ef9eb1ab4902.tar.gz
wekan-416b17062e57f215206e93a85b02ef9eb1ab4902.tar.bz2
wekan-416b17062e57f215206e93a85b02ef9eb1ab4902.zip
Remove the 'Add Swimlane' entry and replace it by a plus sign
Still need to create the swimlane right after the one that has been created
Diffstat (limited to 'client/components/swimlanes/swimlaneHeader.jade')
-rw-r--r--client/components/swimlanes/swimlaneHeader.jade9
1 files changed, 9 insertions, 0 deletions
diff --git a/client/components/swimlanes/swimlaneHeader.jade b/client/components/swimlanes/swimlaneHeader.jade
index 483de06f..3e20e2d0 100644
--- a/client/components/swimlanes/swimlaneHeader.jade
+++ b/client/components/swimlanes/swimlaneHeader.jade
@@ -8,6 +8,7 @@ template(name="swimlaneHeader")
= title
.swimlane-header-menu
unless currentUser.isCommentOnly
+ a.fa.fa-plus.js-open-add-swimlane-menu.swimlane-header-plus-icon
a.fa.fa-navicon.js-open-swimlane-menu
template(name="editSwimlaneTitleForm")
@@ -21,3 +22,11 @@ template(name="swimlaneActionPopup")
unless currentUser.isCommentOnly
ul.pop-over-list
li: a.js-close-swimlane {{_ 'archive-swimlane'}}
+
+template(name="swimlaneAddPopup")
+ unless currentUser.isCommentOnly
+ form
+ input.swimlane-name-input.full-line(type="text" placeholder="{{_ 'add-swimlane'}}"
+ autocomplete="off" autofocus)
+ .edit-controls.clearfix
+ button.primary.confirm(type="submit") {{_ 'add'}}