Skip to content

Commit

Permalink
Update menu ordering in Content section. Leaving spots in between for…
Browse files Browse the repository at this point in the history
… custom modules.
  • Loading branch information
nWidart committed Sep 14, 2017
1 parent 11c44e1 commit 32a73a2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Modules/Media/Events/Handlers/RegisterMediaSidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public function extendWith(Menu $menu)
{
$menu->group(trans('core::sidebar.content'), function (Group $group) {
$group->item(trans('media::media.title.media'), function (Item $item) {
$item->weight(2);
$item->weight(20);
$item->icon('fa fa-camera');
$item->route('admin.media.media.index');
$item->authorize(
Expand Down
2 changes: 1 addition & 1 deletion Modules/Menu/Events/Handlers/RegisterMenuSidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function extendWith(Menu $menu)
$menu->group(trans('core::sidebar.content'), function (Group $group) {
$group->weight(90);
$group->item(trans('menu::menu.title'), function (Item $item) {
$item->weight(3);
$item->weight(30);
$item->icon('fa fa-bars');
$item->route('admin.menu.menu.index');
$item->authorize(
Expand Down
2 changes: 1 addition & 1 deletion Modules/Page/Events/Handlers/RegisterPageSidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function extendWith(Menu $menu)
$menu->group(trans('core::sidebar.content'), function (Group $group) {
$group->item(trans('page::pages.pages'), function (Item $item) {
$item->icon('fa fa-file');
$item->weight(1);
$item->weight(10);
$item->route('admin.page.page.index');
$item->authorize(
$this->auth->hasAccess('page.pages.index')
Expand Down
2 changes: 1 addition & 1 deletion Modules/Tag/Events/Handlers/RegisterTagSidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function extendWith(Menu $menu)
$menu->group(trans('core::sidebar.content'), function (Group $group) {
$group->item(trans('tag::tags.tags'), function (Item $item) {
$item->icon('fa fa-tag');
$item->weight(0);
$item->weight(50);
$item->route('admin.tag.tag.index');
$item->authorize(
$this->auth->hasAccess('tag.tags.index')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function extendWith(Menu $menu)
$menu->group(trans('core::sidebar.content'), function (Group $group) {
$group->item(trans('translation::translations.title.translations'), function (Item $item) {
$item->icon('fa fa-globe');
$item->weight(10);
$item->weight(40);
$item->route('admin.translation.translation.index');
$item->authorize(
$this->auth->hasAccess('translation.translations.index')
Expand Down

0 comments on commit 32a73a2

Please sign in to comment.