mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Fixed #8810 - email logo was not being used in emails
This commit is contained in:
parent
72fc03aa50
commit
76ee5a679b
|
@ -5,18 +5,27 @@
|
|||
@if (isset($snipeSettings) && ($snipeSettings->show_images_in_email=='1' ) && ($snipeSettings::setupCompleted()))
|
||||
|
||||
@if ($snipeSettings->brand == '3')
|
||||
@if ($snipeSettings->logo!='')
|
||||
<img class="navbar-brand-img logo" src="{{ url('/') }}/uploads/{{ $snipeSettings->logo }}">
|
||||
|
||||
@if ($snipeSettings->email_logo!='')
|
||||
<img style="max-height: 100px; vertical-align:middle;" src="{{ \Storage::disk('public')->url(e($snipeSettings->email_logo)) }}">
|
||||
@elseif ($snipeSettings->logo!='')
|
||||
<img style="max-height: 100px; vertical-align:middle;" src="{{ \Storage::disk('public')->url(e($snipeSettings->logo)) }}">
|
||||
@endif
|
||||
{{ $snipeSettings->site_name }}
|
||||
<br><br>
|
||||
|
||||
@elseif ($snipeSettings->brand == '2')
|
||||
@if ($snipeSettings->logo!='')
|
||||
<img class="navbar-brand-img logo" src="{{ url('/') }}/uploads/{{ $snipeSettings->logo }}">
|
||||
@if ($snipeSettings->email_logo!='')
|
||||
|
||||
<img style="max-width: 100px; vertical-align:middle;" src="{{ \Storage::disk('public')->url(e($snipeSettings->email_logo)) }}">
|
||||
@elseif ($snipeSettings->logo!='')
|
||||
<img style="max-width: 100px; vertical-align:middle;" src="{{ \Storage::disk('public')->url(e($snipeSettings->logo)) }}">
|
||||
@endif
|
||||
|
||||
@else
|
||||
{{ $snipeSettings->site_name }}
|
||||
@endif
|
||||
|
||||
@else
|
||||
Snipe-IT
|
||||
@endif
|
||||
|
@ -41,7 +50,7 @@ Snipe-IT
|
|||
@if($snipeSettings::setupCompleted())
|
||||
© {{ date('Y') }} {{ $snipeSettings->site_name }}. All rights reserved.
|
||||
@else
|
||||
© {{ date('Y') }} Snipe-it. All rights reserved.
|
||||
© {{ date('Y') }} Snipe-IT. All rights reserved.
|
||||
@endif
|
||||
|
||||
@if ($snipeSettings->privacy_policy_link!='')
|
||||
|
|
|
@ -107,14 +107,16 @@ img {
|
|||
.header {
|
||||
padding: 25px 0;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.header a {
|
||||
color: #bbbfc3;
|
||||
font-size: 19px;
|
||||
color: #2b2d30;
|
||||
font-size: 25px;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
text-shadow: 0 1px 0 white;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* Body */
|
||||
|
|
Loading…
Reference in a new issue