Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Home view gets a better title.
James Coled1b97da3092b
diff --git a/app/controllers/HomeController.php b/app/controllers/HomeController.phpindex 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 filediff --git a/app/views/index.blade.php b/app/views/index.blade.phpindex 7e0618655a..d2ef847701 100644--- a/app/views/index.blade.php+++ b/app/views/index.blade.php@@ -1,14 +1,5 @@@extends('layouts.default')@section('content')-<div class="row">- <div class="col-lg-12 col-md-12 col-sm-12">- <h1>Firefly- @if($count > 0)- <small>What's playing?</small>- @endif- </h1>- </div>-</div>@if($count > 0)@include('partials.date_nav')@endifdiff --git a/app/views/layouts/default.blade.php b/app/views/layouts/default.blade.phpindex 368a507988..88f0b1f84b 100644--- a/app/views/layouts/default.blade.php+++ b/app/views/layouts/default.blade.php@@ -28,7 +28,11 @@<div class="row"><div class="col-lg-12">- <h1 class="page-header">Firefly <small>What's playing?</small></h1>+ <h1 class="page-header">{{$title or '(no title)'}}+ @if(isset($subTitle))+ <small>{{$subTitle}}</small>+ @endif+ </h1></div><!-- /.col-lg-12 --></div>