diff --git a/app/controllers/HomeController.php b/app/controllers/HomeController.php index 3cc2b18af3..ec28946115 100644 --- a/app/controllers/HomeController.php +++ b/app/controllers/HomeController.php @@ -80,6 +80,7 @@ class HomeController extends BaseController } // build the home screen: - return View::make('index')->with('count', $count)->with('transactions', $transactions); + return View::make('index')->with('count', $count)->with('transactions', $transactions)->with('title', 'Firefly') + ->with('subTitle', 'What\'s playing?'); } } \ No newline at end of file diff --git a/app/views/index.blade.php b/app/views/index.blade.php index 7e0618655a..d2ef847701 100644 --- a/app/views/index.blade.php +++ b/app/views/index.blade.php @@ -1,14 +1,5 @@ @extends('layouts.default') @section('content') -
-
-

Firefly - @if($count > 0) - What's playing? - @endif -

-
-
@if($count > 0) @include('partials.date_nav') @endif diff --git a/app/views/layouts/default.blade.php b/app/views/layouts/default.blade.php index 368a507988..88f0b1f84b 100644 --- a/app/views/layouts/default.blade.php +++ b/app/views/layouts/default.blade.php @@ -28,7 +28,11 @@
-

Firefly What's playing?

+

{{$title or '(no title)'}} + @if(isset($subTitle)) + {{$subTitle}} + @endif +