Only show a logo if a logo is uploaded

This commit is contained in:
snipe 2016-08-02 12:34:08 -07:00
parent 9e43a44d20
commit a76fe98b2d

View file

@ -59,8 +59,9 @@
<body class="hold-transition login-page"> <body class="hold-transition login-page">
@if (\App\Models\Setting::getSettings()->logo!='')
<center><img class="logo" style="padding-top: 20px; padding-bottom: 20px;" src="{{ config('app.url') }}/uploads/{{ \App\Models\Setting::getSettings()->logo }}"></center> <center><img class="logo" style="padding-top: 20px; padding-bottom: 10px;" src="{{ config('app.url') }}/uploads/{{ \App\Models\Setting::getSettings()->logo }}"></center>
@endif
<!-- Content --> <!-- Content -->
@yield('content') @yield('content')