Always have an active settings sidebar when we're in a settings page

This commit is contained in:
James Brooks
2014-12-31 10:47:21 +00:00
parent 89ec124092
commit 189f74ea99

View File

@@ -53,13 +53,13 @@
<a href="#">
<i class="fa fa-plus"></i> {{ Lang::get('cachet.dashboard.metrics-add') }}
</a>
</li> --}}
{{-- <li class="{{ Request::is('dashboard/notifications') ? 'active' : '' }}">
</li>
<li class="{{ Request::is('dashboard/notifications') ? 'active' : '' }}">
<a href="{{ URL::route('dashboard.notifications') }}">
<i class="ion ion-email"></i> {{ Lang::get('cachet.dashboard.notifications') }}
</a>
</li> --}}
<li class="{{ Request::is('dashboard/settings/setup') ? 'active' : '' }}">
<li class="{{ preg_match('/dashboard\/settings\/.*/i', Request::path()) ? 'active' : '' }}">
<a href="{{ URL::route('dashboard.settings.setup') }}">
<i class="icon ion-gear-a"></i> {{ Lang::get('cachet.dashboard.settings') }}
</a>