summaryrefslogtreecommitdiffstats
path: root/client/components
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-10-30 17:33:02 +0200
committerLauri Ojansivu <x@xet7.org>2019-10-30 17:33:02 +0200
commit758bbab44115084c351c5581b62607e826604e1c (patch)
tree1eaeb76911fb08a264d0b4a15ad02db07ad5350e /client/components
parent00d581245c1fe6a01ef372ca87d8a25bc7b937e4 (diff)
downloadwekan-758bbab44115084c351c5581b62607e826604e1c.tar.gz
wekan-758bbab44115084c351c5581b62607e826604e1c.tar.bz2
wekan-758bbab44115084c351c5581b62607e826604e1c.zip
Revert New List item moved from right to left.
Thanks to derbolle and xet7 ! Closes #2772
Diffstat (limited to 'client/components')
-rw-r--r--client/components/swimlanes/swimlanes.jade18
1 files changed, 9 insertions, 9 deletions
diff --git a/client/components/swimlanes/swimlanes.jade b/client/components/swimlanes/swimlanes.jade
index 98af6d54..3ad43777 100644
--- a/client/components/swimlanes/swimlanes.jade
+++ b/client/components/swimlanes/swimlanes.jade
@@ -12,13 +12,13 @@ template(name="swimlane")
unless currentUser.isCommentOnly
+addListForm
else
- if currentUser.isBoardMember
- unless currentUser.isCommentOnly
- +addListForm
each lists
+list(this)
if currentCardIsInThisList _id ../_id
+cardDetails(currentCard)
+ if currentUser.isBoardMember
+ unless currentUser.isCommentOnly
+ +addListForm
template(name="listsGroup")
.swimlane.list-group.js-lists
@@ -26,23 +26,23 @@ template(name="listsGroup")
if currentList
+list(currentList)
else
+ each lists
+ +miniList(this)
if currentUser.isBoardMember
unless currentUser.isCommentOnly
+addListForm
- each lists
- +miniList(this)
else
- if currentUser.isBoardMember
- unless currentUser.isCommentOnly
- +addListForm
each lists
if visible this
+list(this)
if currentCardIsInThisList _id null
+cardDetails(currentCard)
+ if currentUser.isBoardMember
+ unless currentUser.isCommentOnly
+ +addListForm
template(name="addListForm")
- .list.list-composer.js-list-composer(class="{{#if isMiniScreen}}mini-list{{/if}}")
+ .list.list-composer.js-list-composer
.list-header-add
+inlinedForm(autoclose=false)
input.list-name-input.full-line(type="text" placeholder="{{_ 'add-list'}}"