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

index 727979d..d6bb311 100644 (file)
@@ -457,9 +457,28 @@ add_filter(
         $content = [
             'title'         => 'Members',
             'components'    => [
+                [
+                    'id'         => 'quickLinks',
+                    'order'      => -1,
+                    'template'   => 'quickLinks',
+                    'quickLinks' => [
+                        'dashboard' => [
+                            'content' => 'Dashboard',
+                            'url'     => $membersIndexPage . "&option=dashboard",
+                        ],
+                        'search' => [
+                            'content' => 'Advanced Search',
+                            'url'     => $membersIndexPage . "&option=search",
+                        ],
+                        'settings' => [
+                            'content'   => 'Settings',
+                            'url'       => $membersSettingsPage,
+                        ]
+                    ],
+                ],
                 [
                     'id'        => 'topButtons',
-                    'order'     => -1,
+                    'order'     => 0,
                     'template'  => 'buttons',
                     'buttons'   => [
                         'add-member' => [
@@ -478,25 +497,6 @@ add_filter(
                         ],
                     ],
                 ],
-                [
-                    'id'         => 'quickLinks',
-                    'order'      => 0,
-                    'template'   => 'quickLinks',
-                    'quickLinks' => [
-                        'dashboard' => [
-                            'content' => 'Dashboard',
-                            'url'     => $membersIndexPage . "&option=dashboard",
-                        ],
-                        'search' => [
-                            'content' => 'Advanced Search',
-                            'url'     => $membersIndexPage . "&option=search",
-                        ],
-                        'settings' => [
-                            'content'   => 'Settings',
-                            'url'       => $membersSettingsPage,
-                        ]
-                    ],
-                ],
                 [
                     'id'        => 'entityAmount',
                     'title'     => 'Number of ' . $this->config['terms']['term_member_plur_cap'],