فهرست منبع

Move Desktop Drag Handle setting more right.

Thanks to Emile840 and xet7 !

Related #4734,
related #4715
Lauri Ojansivu 2 سال پیش
والد
کامیت
2be0385c25
1فایلهای تغییر یافته به همراه12 افزوده شده و 8 حذف شده
  1. 12 8
      client/components/main/header.jade

+ 12 - 8
client/components/main/header.jade

@@ -6,17 +6,10 @@ template(name="header")
     The first link goes to the boards page.
     The first link goes to the boards page.
   if currentUser
   if currentUser
     #header-quick-access(class=currentBoard.colorClass)
     #header-quick-access(class=currentBoard.colorClass)
-      a.js-toggle-desktop-drag-handles(title="{{_ 'show-desktop-drag-handles'}}" alt="{{_ 'show-desktop-drag-handles'}}")
-        i.fa.fa-arrows
-          if isShowDesktopDragHandles
-            i.fa.fa-check-square-o
-          unless isShowDesktopDragHandles
-            i.fa.fa-ban
       if isMiniScreen
       if isMiniScreen
         span
         span
           a(href="{{pathFor 'home'}}")
           a(href="{{pathFor 'home'}}")
             span.fa.fa-home
             span.fa.fa-home
-
         ul.header-quick-access-list
         ul.header-quick-access-list
           if currentList
           if currentList
             each currentBoard.lists
             each currentBoard.lists
@@ -30,6 +23,12 @@ template(name="header")
                 a(href="{{pathFor 'board' id=_id slug=slug}}")
                 a(href="{{pathFor 'board' id=_id slug=slug}}")
                   +viewer
                   +viewer
                     = title
                     = title
+        a.js-toggle-desktop-drag-handles(title="{{_ 'show-desktop-drag-handles'}}" alt="{{_ 'show-desktop-drag-handles'}}")
+          i.fa.fa-arrows
+            if isShowDesktopDragHandles
+              i.fa.fa-check-square-o
+            unless isShowDesktopDragHandles
+              i.fa.fa-ban
         #header-new-board-icon
         #header-new-board-icon
       else
       else
         //-
         //-
@@ -62,7 +61,12 @@ template(name="header")
                   = title
                   = title
           else
           else
             li.current.empty {{_ 'quick-access-description'}}
             li.current.empty {{_ 'quick-access-description'}}
-
+        a.js-toggle-desktop-drag-handles(title="{{_ 'show-desktop-drag-handles'}}" alt="{{_ 'show-desktop-drag-handles'}}")
+          i.fa.fa-arrows
+            if isShowDesktopDragHandles
+              i.fa.fa-check-square-o
+            unless isShowDesktopDragHandles
+              i.fa.fa-ban
       // Next line is used only for spacing at header,
       // Next line is used only for spacing at header,
       // there is no visible clickable icon.
       // there is no visible clickable icon.
       #header-new-board-icon
       #header-new-board-icon