Move dashboard and logout links into the footer
This commit is contained in:
@@ -1,18 +1,6 @@
|
|||||||
@extends('layout.master')
|
@extends('layout.master')
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
@if(Auth::check())
|
|
||||||
<ul class='nav nav-pills'>
|
|
||||||
<li>
|
|
||||||
<a class="btn btn-default" href="{{ URL::route('dashboard') }}">{{ Lang::get('cachet.dashboard.dashboard') }}</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a class="btn btn-danger" href="{{ URL::route('logout') }}">{{ Lang::get('cachet.logout') }}</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<hr />
|
|
||||||
@endif
|
|
||||||
|
|
||||||
<div class='alert alert-{{ $systemStatus }}'>{{ $systemMessage }}</div>
|
<div class='alert alert-{{ $systemStatus }}'>{{ $systemMessage }}</div>
|
||||||
|
|
||||||
@include('partials.components')
|
@include('partials.components')
|
||||||
|
|||||||
@@ -2,5 +2,10 @@
|
|||||||
<footer class='footer'>
|
<footer class='footer'>
|
||||||
<p>{{ Lang::get('cachet.powered_by', array('app' => Setting::get('app_name'))) }}</p>
|
<p>{{ Lang::get('cachet.powered_by', array('app' => Setting::get('app_name'))) }}</p>
|
||||||
<p><a href='/rss'><i class='fa fa-rss'></i> RSS Feed</a></p>
|
<p><a href='/rss'><i class='fa fa-rss'></i> RSS Feed</a></p>
|
||||||
|
@if(Auth::check())
|
||||||
|
<p>
|
||||||
|
<a href="{{ URL::route('dashboard') }}">{{ Lang::get('cachet.dashboard.dashboard') }}</a> – <a href="{{ URL::route('logout') }}">{{ Lang::get('cachet.logout') }}</a>
|
||||||
|
</p>
|
||||||
|
@endif
|
||||||
</footer>
|
</footer>
|
||||||
@endif
|
@endif
|
||||||
|
|||||||
Reference in New Issue
Block a user