mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Set the body skin style if one was overridden by the user profile
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
23376c317e
commit
32f043c5df
|
@ -82,7 +82,13 @@
|
|||
|
||||
|
||||
</head>
|
||||
<body class="sidebar-mini skin-{{ $snipeSettings->skin!='' ? $snipeSettings->skin : 'blue' }} {{ (session('menu_state')!='open') ? 'sidebar-mini sidebar-collapse' : '' }}">
|
||||
|
||||
@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">
|
||||
|
||||
|
|
Loading…
Reference in a new issue