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

parent 11c44e19
...@@ -13,7 +13,7 @@ class RegisterMediaSidebar extends AbstractAdminSidebar ...@@ -13,7 +13,7 @@ class RegisterMediaSidebar extends AbstractAdminSidebar
{ {
$menu->group(trans('core::sidebar.content'), function (Group $group) { $menu->group(trans('core::sidebar.content'), function (Group $group) {
$group->item(trans('media::media.title.media'), function (Item $item) { $group->item(trans('media::media.title.media'), function (Item $item) {
$item->weight(2); $item->weight(20);
$item->icon('fa fa-camera'); $item->icon('fa fa-camera');
$item->route('admin.media.media.index'); $item->route('admin.media.media.index');
$item->authorize( $item->authorize(
......
...@@ -19,7 +19,7 @@ class RegisterMenuSidebar extends AbstractAdminSidebar ...@@ -19,7 +19,7 @@ class RegisterMenuSidebar extends AbstractAdminSidebar
$menu->group(trans('core::sidebar.content'), function (Group $group) { $menu->group(trans('core::sidebar.content'), function (Group $group) {
$group->weight(90); $group->weight(90);
$group->item(trans('menu::menu.title'), function (Item $item) { $group->item(trans('menu::menu.title'), function (Item $item) {
$item->weight(3); $item->weight(30);
$item->icon('fa fa-bars'); $item->icon('fa fa-bars');
$item->route('admin.menu.menu.index'); $item->route('admin.menu.menu.index');
$item->authorize( $item->authorize(
......
...@@ -18,7 +18,7 @@ class RegisterPageSidebar extends AbstractAdminSidebar ...@@ -18,7 +18,7 @@ class RegisterPageSidebar extends AbstractAdminSidebar
$menu->group(trans('core::sidebar.content'), function (Group $group) { $menu->group(trans('core::sidebar.content'), function (Group $group) {
$group->item(trans('page::pages.pages'), function (Item $item) { $group->item(trans('page::pages.pages'), function (Item $item) {
$item->icon('fa fa-file'); $item->icon('fa fa-file');
$item->weight(1); $item->weight(10);
$item->route('admin.page.page.index'); $item->route('admin.page.page.index');
$item->authorize( $item->authorize(
$this->auth->hasAccess('page.pages.index') $this->auth->hasAccess('page.pages.index')
......
...@@ -19,7 +19,7 @@ class RegisterTagSidebar extends AbstractAdminSidebar ...@@ -19,7 +19,7 @@ class RegisterTagSidebar extends AbstractAdminSidebar
$menu->group(trans('core::sidebar.content'), function (Group $group) { $menu->group(trans('core::sidebar.content'), function (Group $group) {
$group->item(trans('tag::tags.tags'), function (Item $item) { $group->item(trans('tag::tags.tags'), function (Item $item) {
$item->icon('fa fa-tag'); $item->icon('fa fa-tag');
$item->weight(0); $item->weight(50);
$item->route('admin.tag.tag.index'); $item->route('admin.tag.tag.index');
$item->authorize( $item->authorize(
$this->auth->hasAccess('tag.tags.index') $this->auth->hasAccess('tag.tags.index')
......
...@@ -22,7 +22,7 @@ class RegisterTranslationSidebar extends AbstractAdminSidebar ...@@ -22,7 +22,7 @@ class RegisterTranslationSidebar extends AbstractAdminSidebar
$menu->group(trans('core::sidebar.content'), function (Group $group) { $menu->group(trans('core::sidebar.content'), function (Group $group) {
$group->item(trans('translation::translations.title.translations'), function (Item $item) { $group->item(trans('translation::translations.title.translations'), function (Item $item) {
$item->icon('fa fa-globe'); $item->icon('fa fa-globe');
$item->weight(10); $item->weight(40);
$item->route('admin.translation.translation.index'); $item->route('admin.translation.translation.index');
$item->authorize( $item->authorize(
$this->auth->hasAccess('translation.translations.index') $this->auth->hasAccess('translation.translations.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