This commit is contained in:
James Brooks
2015-01-01 19:44:15 +00:00
parent 335738dc40
commit bba4ecc6d0
2 changed files with 4 additions and 2 deletions

View File

@@ -12,7 +12,7 @@
<div class='alert alert-{{ $systemStatus }}'>{{ $systemMessage }}</div>
@if($aboutApp = Setting::get('app_about'))
@if($aboutApp)
<div class='about-app'>
<h1>{{ Lang::get('cachet.about_this_site') }}</h1>
<p>{{ $aboutApp }}</p>

View File

@@ -3,6 +3,7 @@
namespace CachetHQ\Cachet\Controllers;
use Component;
use GrahamCampbell\Markdown\Facades\Markdown;
use Illuminate\Routing\Controller;
use Illuminate\Support\Facades\View;
use Setting;
@@ -20,7 +21,8 @@ class HomeController extends Controller
return View::make('index', [
'components' => $components,
'pageTitle' => Setting::get('app_name')
'pageTitle' => Setting::get('app_name'),
'aboutApp' => Markdown::render(Setting::get('app_about')),
]);
}
}