Browse Source

Hide duplicate create board button, because it did not show board templates correctly.

Thanks to xet7 !

Fixes #2728
Lauri Ojansivu 4 năm trước cách đây
mục cha
commit
a7977a8fc7
1 tập tin đã thay đổi với 7 bổ sung2 xóa
  1. 7 2
      client/components/main/header.jade

+ 7 - 2
client/components/main/header.jade

@@ -50,8 +50,13 @@ template(name="header")
           else
             li.current {{_ 'quick-access-description'}}
 
-      a#header-new-board-icon.js-create-board
-        i.fa.fa-plus(title="Create a new board")
+      // Next line is used only for spacing at header,
+      // there is no visible clickable icon.
+      #header-new-board-icon
+      //  Hide duplicate create board button,
+      //  because it did not show board templates correctly.
+      //a#header-new-board-icon.js-create-board
+      //  i.fa.fa-plus(title="Create a new board")
 
       +notifications