From 758bbab44115084c351c5581b62607e826604e1c Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 30 Oct 2019 17:33:02 +0200 Subject: Revert New List item moved from right to left. Thanks to derbolle and xet7 ! Closes #2772 --- client/components/swimlanes/swimlanes.jade | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'client/components') 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'}}" -- cgit v1.2.3-1-g7c22