瀏覽代碼

- Move Add Board button to top left, so there is no need to scroll
to bottom when there is a lot of boards.

Thanks to xet7 !

Lauri Ojansivu 6 年之前
父節點
當前提交
fb46a88a0f
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      client/components/boards/boardsList.jade

+ 2 - 3
client/components/boards/boardsList.jade

@@ -1,6 +1,8 @@
 template(name="boardList")
   .wrapper
     ul.board-list.clearfix
+      li.js-add-board
+        a.board-list-item.label {{_ 'add-board'}}
       each boards
         li(class="{{#if isStarred}}starred{{/if}}" class=colorClass)
           if isInvited
@@ -27,9 +29,6 @@ template(name="boardList")
                     title="{{#if hasOvertimeCards}}{{_ 'has-overtime-cards'}}{{else}}{{_ 'has-spenttime-cards'}}{{/if}}")
 
                 p.board-list-item-desc= description
-      li.js-add-board
-        a.board-list-item.label {{_ 'add-board'}}
-
 
 template(name="boardListHeaderBar")
   h1 {{_ 'my-boards'}}