mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Only show a logo if a logo is uploaded
This commit is contained in:
parent
9e43a44d20
commit
a76fe98b2d
|
@ -59,8 +59,9 @@
|
|||
|
||||
<body class="hold-transition login-page">
|
||||
|
||||
|
||||
<center><img class="logo" style="padding-top: 20px; padding-bottom: 20px;" src="{{ config('app.url') }}/uploads/{{ \App\Models\Setting::getSettings()->logo }}"></center>
|
||||
@if (\App\Models\Setting::getSettings()->logo!='')
|
||||
<center><img class="logo" style="padding-top: 20px; padding-bottom: 10px;" src="{{ config('app.url') }}/uploads/{{ \App\Models\Setting::getSettings()->logo }}"></center>
|
||||
@endif
|
||||
<!-- Content -->
|
||||
@yield('content')
|
||||
|
||||
|
|
Loading…
Reference in a new issue