This commit is contained in:
James Brooks
2015-07-02 16:46:14 +01:00
parent 7a283dceb7
commit fafcc8880b
9 changed files with 23 additions and 25 deletions

View File

@@ -58,9 +58,9 @@ class ComponentController extends AbstractController
$this->subMenu['components']['active'] = true;
return View::make('dashboard.components.index')->with([
'page_title' => trans_choice('dashboard.components.components', 2).' - '.trans('dashboard.dashboard'),
'page_title' => trans_choice('dashboard.components.components', 2).' - '.trans('dashboard.dashboard'),
'components' => $components,
'sub_menu' => $this->subMenu,
'sub_menu' => $this->subMenu,
]);
}
@@ -75,7 +75,7 @@ class ComponentController extends AbstractController
return View::make('dashboard.components.groups.index')->with([
'page_title' => trans_choice('dashboard.components.groups.groups', 2).' - '.trans('dashboard.dashboard'),
'groups' => ComponentGroup::orderBy('order')->get(),
'groups' => ComponentGroup::orderBy('order')->get(),
'sub_menu' => $this->subMenu,
]);
}
@@ -100,8 +100,8 @@ class ComponentController extends AbstractController
return View::make('dashboard.components.edit')->with([
'page_title' => $pageTitle,
'component' => $component,
'groups' => $groups,
'component' => $component,
'groups' => $groups,
]);
}
@@ -171,7 +171,7 @@ class ComponentController extends AbstractController
return View::make('dashboard.components.add')->with([
'page_title' => trans('dashboard.components.add.title').' - '.trans('dashboard.dashboard'),
'groups' => $groups,
'groups' => $groups,
]);
}
@@ -294,7 +294,7 @@ class ComponentController extends AbstractController
{
return View::make('dashboard.components.groups.edit')->with([
'page_title' => trans('dashboard.components.groups.edit.title').' - '.trans('dashboard.dashboard'),
'group' => $group,
'group' => $group,
]);
}