Fix up pageTitle variables
This commit is contained in:
@@ -64,7 +64,6 @@ class StatusPageComposer
|
||||
$view->with($withData)
|
||||
->withComponentGroups($componentGroups)
|
||||
->withUngroupedComponents($ungroupedComponents)
|
||||
->withScheduledMaintenance($scheduledMaintenance)
|
||||
->withPageTitle(Setting::get('app_name'));
|
||||
->withScheduledMaintenance($scheduledMaintenance);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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));
|
||||
|
||||
@@ -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')));
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="/img/apple-touch-icon-144x144.png">
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="/img/apple-touch-icon-152x152.png">
|
||||
|
||||
<title>{{ isset($page_title) ? $page_title : Setting::get('app_name') }} | Cachet</title>
|
||||
<title>@yield('pageTitle', isset($page_title) ? $page_title.' | Cachet' : 'Cachet')</title>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700" rel="stylesheet" type="text/css">
|
||||
<link rel="stylesheet" href="{{ elixir('dist/css/all.css') }}">
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
@extends('layout.clean')
|
||||
|
||||
@section('pageTitle', trans('setup.setup'))
|
||||
|
||||
@section('content')
|
||||
<div class="setup-page">
|
||||
<div class="text-center">
|
||||
|
||||
Reference in New Issue
Block a user