diff --git a/app/Http/Controllers/Dashboard/DashboardController.php b/app/Http/Controllers/Dashboard/DashboardController.php index ee841f8d..e9913236 100644 --- a/app/Http/Controllers/Dashboard/DashboardController.php +++ b/app/Http/Controllers/Dashboard/DashboardController.php @@ -58,6 +58,7 @@ class DashboardController extends Controller $subscribers = $this->getSubscribers(); return View::make('dashboard.index') + ->withPageTitle(trans('dashboard.dashboard')) ->withComponents($components) ->withIncidents($incidents) ->withSubscribers($subscribers); diff --git a/app/Http/Controllers/Dashboard/SettingsController.php b/app/Http/Controllers/Dashboard/SettingsController.php index 1945275e..633c1a84 100644 --- a/app/Http/Controllers/Dashboard/SettingsController.php +++ b/app/Http/Controllers/Dashboard/SettingsController.php @@ -44,10 +44,16 @@ class SettingsController extends Controller 'icon' => 'ion-gear-b', 'active' => false, ], - 'analytics' => [ - 'title' => trans('dashboard.settings.analytics.analytics'), - 'url' => route('dashboard.settings.analytics'), - 'icon' => 'ion-stats-bars', + 'theme' => [ + 'title' => trans('dashboard.settings.theme.theme'), + 'url' => route('dashboard.settings.theme'), + 'icon' => 'ion-paintbrush', + 'active' => false, + ], + 'stylesheet' => [ + 'title' => trans('dashboard.settings.stylesheet.stylesheet'), + 'url' => route('dashboard.settings.stylesheet'), + 'icon' => 'ion-paintbucket', 'active' => false, ], 'localization' => [ @@ -62,16 +68,10 @@ class SettingsController extends Controller 'icon' => 'ion-lock-combination', 'active' => false, ], - 'theme' => [ - 'title' => trans('dashboard.settings.theme.theme'), - 'url' => route('dashboard.settings.theme'), - 'icon' => 'ion-paintbrush', - 'active' => false, - ], - 'stylesheet' => [ - 'title' => trans('dashboard.settings.stylesheet.stylesheet'), - 'url' => route('dashboard.settings.stylesheet'), - 'icon' => 'ion-paintbucket', + 'analytics' => [ + 'title' => trans('dashboard.settings.analytics.analytics'), + 'url' => route('dashboard.settings.analytics'), + 'icon' => 'ion-stats-bars', 'active' => false, ], 'about' => [ diff --git a/resources/views/dashboard/subscribers/index.blade.php b/resources/views/dashboard/subscribers/index.blade.php index 7d036e80..b7b0fd0e 100644 --- a/resources/views/dashboard/subscribers/index.blade.php +++ b/resources/views/dashboard/subscribers/index.blade.php @@ -6,7 +6,7 @@ - {{ trans('dashboard.subscribers.subscribers') }} + {{ trans('dashboard.subscribers.subscribers') }} @if($current_user->isAdmin) diff --git a/resources/views/dashboard/team/index.blade.php b/resources/views/dashboard/team/index.blade.php index 960dfb4e..86a05ab0 100644 --- a/resources/views/dashboard/team/index.blade.php +++ b/resources/views/dashboard/team/index.blade.php @@ -6,7 +6,7 @@ - {{ trans('dashboard.team.team') }} + {{ trans('dashboard.team.team') }} @if($current_user->isAdmin)