diff --git a/app/Composers/StatusPageComposer.php b/app/Composers/StatusPageComposer.php index 5c9dd505..d34192c8 100644 --- a/app/Composers/StatusPageComposer.php +++ b/app/Composers/StatusPageComposer.php @@ -64,7 +64,6 @@ class StatusPageComposer $view->with($withData) ->withComponentGroups($componentGroups) ->withUngroupedComponents($ungroupedComponents) - ->withScheduledMaintenance($scheduledMaintenance) - ->withPageTitle(Setting::get('app_name')); + ->withScheduledMaintenance($scheduledMaintenance); } } diff --git a/app/Http/Controllers/SignupController.php b/app/Http/Controllers/SignupController.php index bf5c0e2b..ae58d58c 100644 --- a/app/Http/Controllers/SignupController.php +++ b/app/Http/Controllers/SignupController.php @@ -49,8 +49,6 @@ class SignupController extends Controller } return View::make('signup') - ->withPageTitle(Setting::get('app_name')) - ->withAboutApp(Markdown::convertToHtml(Setting::get('app_about'))) ->withCode($invite->code) ->withUsername(Binput::old('username')) ->withEmail(Binput::old('emai', $invite->email)); diff --git a/app/Http/Controllers/SubscribeController.php b/app/Http/Controllers/SubscribeController.php index 72f921ae..7d5c6b52 100644 --- a/app/Http/Controllers/SubscribeController.php +++ b/app/Http/Controllers/SubscribeController.php @@ -38,7 +38,6 @@ class SubscribeController extends Controller public function showSubscribe() { return View::make('subscribe') - ->withPageTitle(Setting::get('app_name')) ->withAboutApp(Markdown::convertToHtml(Setting::get('app_about'))); } diff --git a/resources/views/dashboard/partials/head.blade.php b/resources/views/dashboard/partials/head.blade.php index 9bbe63cc..f7d1188a 100644 --- a/resources/views/dashboard/partials/head.blade.php +++ b/resources/views/dashboard/partials/head.blade.php @@ -18,7 +18,7 @@ - {{ isset($page_title) ? $page_title : Setting::get('app_name') }} | Cachet + @yield('pageTitle', isset($page_title) ? $page_title.' | Cachet' : 'Cachet') diff --git a/resources/views/setup.blade.php b/resources/views/setup.blade.php index c039a64a..a60ba6a4 100644 --- a/resources/views/setup.blade.php +++ b/resources/views/setup.blade.php @@ -1,5 +1,7 @@ @extends('layout.clean') +@section('pageTitle', trans('setup.setup')) + @section('content')