Switched position of quicklinks and topbuttons
authorLaury GvR <laury@gaslightmedia.com>
Tue, 2 Oct 2018 16:24:21 +0000 (12:24 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 2 Oct 2018 16:24:21 +0000 (12:24 -0400)
setup/adminHooks.php

index 6de9c3e..42f2c38 100644 (file)
@@ -90,21 +90,9 @@ add_filter(
         $content = [
             'title'         => 'Packaging',
             'components'    => [
-                [
-                    'id'        => 'topButtons',
-                    'order'     => -1,
-                    'template'  => 'buttons',
-                    'buttons'   => [
-                        'add-package' => [
-                            'content'   => 'Add Package',
-                            'url'       => $packagingIndexPage . "&option=add",
-                            'classes'   => '',
-                        ],
-                    ],
-                ],
                 [
                     'id'         => 'quickLinks',
-                    'order'      => 0,
+                    'order'      => -1,
                     'template'   => 'quickLinks',
                     'quickLinks' => [
                         'dashboard' => [
@@ -121,6 +109,18 @@ add_filter(
                         ]
                     ],
                 ],
+                [
+                    'id'        => 'topButtons',
+                    'order'     => 0,
+                    'template'  => 'buttons',
+                    'buttons'   => [
+                        'add-package' => [
+                            'content'   => 'Add Package',
+                            'url'       => $packagingIndexPage . "&option=add",
+                            'classes'   => '',
+                        ],
+                    ],
+                ],
                 [
                     'id'       => 'entityAmount',
                     'title'    => 'Number of Packages',