Update menu ordering in Workshop section. Leaving spots in between for custom modules.

parent 32a73a2d
......@@ -19,7 +19,7 @@ class RegisterSettingSidebar extends AbstractAdminSidebar
$menu->group(trans('workshop::workshop.title'), function (Group $group) {
$group->item(trans('setting::settings.title.settings'), function (Item $item) {
$item->icon('fa fa-cog');
$item->weight(50);
$item->weight(20);
$item->route('admin.setting.settings.index');
$item->authorize(
$this->auth->hasAccess('setting.settings.index')
......
......@@ -18,7 +18,7 @@ class RegisterUserSidebar extends AbstractAdminSidebar
{
$menu->group(trans('workshop::workshop.title'), function (Group $group) {
$group->item(trans('user::users.title.users'), function (Item $item) {
$item->weight(0);
$item->weight(10);
$item->icon('fa fa-users');
$item->authorize(
$this->auth->hasAccess('user.users.index') or $this->auth->hasAccess('user.roles.index')
......
......@@ -23,7 +23,7 @@ class RegisterWorkshopSidebar extends AbstractAdminSidebar
);
$group->item(trans('workshop::workshop.modules'), function (Item $item) {
$item->icon('fa fa-cogs');
$item->weight(100);
$item->weight(30);
$item->route('admin.workshop.modules.index');
$item->authorize(
$this->auth->hasAccess('workshop.modules.index')
......@@ -31,7 +31,7 @@ class RegisterWorkshopSidebar extends AbstractAdminSidebar
});
$group->item(trans('workshop::workshop.themes'), function (Item $item) {
$item->icon('fa fa-cogs');
$item->weight(101);
$item->weight(40);
$item->route('admin.workshop.themes.index');
$item->authorize(
$this->auth->hasAccess('workshop.themes.index')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment