mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Determine if email_logo or logo setting needs to be used in the Forgot Password email
This commit is contained in:
parent
da0efaa278
commit
cd2997b674
|
@ -73,16 +73,26 @@ $style = [
|
|||
<td style="{{ $style['email-masthead'] }}">
|
||||
|
||||
@if (($snipeSettings->show_images_in_email=='1' ) && ($snipeSettings::setupCompleted()))
|
||||
@php
|
||||
$logo = '';
|
||||
if ($snipeSettings->logo != ''){
|
||||
$logo = $snipeSettings->logo;
|
||||
}
|
||||
|
||||
if ($snipeSettings->email_logo != ''){
|
||||
$logo = $snipeSettings->email_logo;
|
||||
}
|
||||
@endphp
|
||||
|
||||
@if ($snipeSettings->brand == '3')
|
||||
@if ($snipeSettings->logo!='')
|
||||
<img class="navbar-brand-img logo" style="max-width: 50px;" src="{{ url('/') }}/uploads/{{ $snipeSettings->logo }}">
|
||||
@if ($logo!='')
|
||||
<img class="navbar-brand-img logo" style="max-width: 50px;" src="{{ url('/') }}/uploads/{{ $logo }}">
|
||||
@endif
|
||||
{{ $snipeSettings->site_name }}
|
||||
|
||||
@elseif ($snipeSettings->brand == '2')
|
||||
@if ($snipeSettings->logo!='')
|
||||
<img class="navbar-brand-img logo" style="max-width: 50px;" src="{{ url('/') }}/uploads/{{ $snipeSettings->logo }}">
|
||||
@if ($logo!='')
|
||||
<img class="navbar-brand-img logo" style="max-width: 50px;" src="{{ url('/') }}/uploads/{{ $logo }}">
|
||||
@endif
|
||||
@else
|
||||
{{ $snipeSettings->site_name }}
|
||||
|
|
Loading…
Reference in a new issue