Only pull logo if there is a value

This commit is contained in:
snipe 2017-08-26 17:43:00 -07:00
parent c7a21e0e4d
commit 42175782a5
3 changed files with 6 additions and 1 deletions

View file

@ -18,5 +18,6 @@
"/css/AdminLTE.css.map": "/css/AdminLTE.css.map",
"/css/app.css.map": "/css/app.css.map",
"/css/overrides.css.map": "/css/overrides.css.map",
"public/css/dist/all.css": "public/css/dist/all.css"
"public/css/dist/all.css": "public/css/dist/all.css",
"public/js/dist/all.js": "public/js/dist/all.js"
}

BIN
public/js/dist/all.js vendored

Binary file not shown.

View file

@ -111,12 +111,16 @@
<li class="left-navblock">
@if ($snipeSettings->brand == '3')
<a class="logo navbar-brand no-hover" href="{{ url('/') }}">
@if ($snipeSettings->logo!='')
<img class="navbar-brand-img" src="{{ url('/') }}/uploads/{{ $snipeSettings->logo }}">
@endif
{{ $snipeSettings->site_name }}
</a>
@elseif ($snipeSettings->brand == '2')
<a class="logo navbar-brand no-hover" href="{{ url('/') }}">
@if ($snipeSettings->logo!='')
<img class="navbar-brand-img" src="{{ url('/') }}/uploads/{{ $snipeSettings->logo }}">
@endif
</a>
@else
<a class="logo no-hover" href="{{ url('/') }}">