Commit ad83202f authored by Nicolas Widart's avatar Nicolas Widart

Changing the navigation for i18n

parent c7b0858e
...@@ -10,19 +10,19 @@ class SidebarViewComposer ...@@ -10,19 +10,19 @@ class SidebarViewComposer
$view->items->put('workbench', Collection::make([ $view->items->put('workbench', Collection::make([
[ [
'weight' => '1', 'weight' => '1',
'request' => Request::is("{$view->prefix}/modules*") or Request::is("{$view->prefix}/workbench*"), 'request' => Request::is("*/{$view->prefix}/modules*") or Request::is("*/{$view->prefix}/workbench*"),
'route' => '#', 'route' => '#',
'icon-class' => 'fa fa-cogs', 'icon-class' => 'fa fa-cogs',
'title' => 'Workshop', 'title' => 'Workshop',
], ],
[ [
'request' => "{$view->prefix}/modules*", 'request' => "*/{$view->prefix}/modules*",
'route' => 'dashboard.modules.index', 'route' => 'dashboard.modules.index',
'icon-class' => 'fa fa-cog', 'icon-class' => 'fa fa-cog',
'title' => 'Modules', 'title' => 'Modules',
], ],
[ [
'request' => "{$view->prefix}/workbench*", 'request' => "*/{$view->prefix}/workbench*",
'route' => 'dashboard.workbench.index', 'route' => 'dashboard.workbench.index',
'icon-class' => 'fa fa-terminal', 'icon-class' => 'fa fa-terminal',
'title' => 'Workbench', 'title' => 'Workbench',
......
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