Skip to content
Snippets Groups Projects
Commit 32f043c5 authored by snipe's avatar snipe
Browse files

Set the body skin style if one was overridden by the user profile


Signed-off-by: default avatarsnipe <snipe@snipe.net>
parent 23376c31
Branches
No related tags found
No related merge requests found
......@@ -82,7 +82,13 @@
</head>
@if (($snipeSettings) && ($snipeSettings->allow_user_skin==1) && Auth::check() && Auth::user()->present()->skin != '')
<body class="sidebar-mini skin-{{ $snipeSettings->skin!='' ? Auth::user()->present()->skin : 'blue' }} {{ (session('menu_state')!='open') ? 'sidebar-mini sidebar-collapse' : '' }}">
@else
<body class="sidebar-mini skin-{{ $snipeSettings->skin!='' ? $snipeSettings->skin : 'blue' }} {{ (session('menu_state')!='open') ? 'sidebar-mini sidebar-collapse' : '' }}">
@endif
<a class="skip-main" href="#main">Skip to main content</a>
<div class="wrapper">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment