Fix up pageTitle variables

This commit is contained in:
James Brooks
2015-11-21 22:20:15 +00:00
parent bf20a324ac
commit a8dd60063e
5 changed files with 4 additions and 6 deletions

View File

@@ -64,7 +64,6 @@ class StatusPageComposer
$view->with($withData)
->withComponentGroups($componentGroups)
->withUngroupedComponents($ungroupedComponents)
->withScheduledMaintenance($scheduledMaintenance)
->withPageTitle(Setting::get('app_name'));
->withScheduledMaintenance($scheduledMaintenance);
}
}

View File

@@ -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));

View File

@@ -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')));
}

View File

@@ -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') }}">

View File

@@ -1,5 +1,7 @@
@extends('layout.clean')
@section('pageTitle', trans('setup.setup'))
@section('content')
<div class="setup-page">
<div class="text-center">