Sfoglia il codice sorgente

Revert creating new list to left, now creates again to right. Thanks to whowillcare !

Revert New List item moved from right to left. Thanks to derbolle and xet7 !

Closes #2772
Lauri Ojansivu 5 anni fa
parent
commit
806df30ba3
1 ha cambiato i file con 8 aggiunte e 8 eliminazioni
  1. 8 8
      client/components/swimlanes/swimlanes.jade

+ 8 - 8
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,20 +26,20 @@ 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}}")