mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-20 19:42:02 +00:00
Home view gets a better title.
This commit is contained in:
@@ -80,6 +80,7 @@ class HomeController extends BaseController
|
|||||||
}
|
}
|
||||||
|
|
||||||
// build the home screen:
|
// 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?');
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,14 +1,5 @@
|
|||||||
@extends('layouts.default')
|
@extends('layouts.default')
|
||||||
@section('content')
|
@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)
|
@if($count > 0)
|
||||||
@include('partials.date_nav')
|
@include('partials.date_nav')
|
||||||
@endif
|
@endif
|
||||||
|
@@ -28,7 +28,11 @@
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-12">
|
<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>
|
</div>
|
||||||
<!-- /.col-lg-12 -->
|
<!-- /.col-lg-12 -->
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user