mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Simplified logic
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
4c350bd5a3
commit
225ab47b8e
|
@ -21,21 +21,14 @@
|
|||
{{-- $snipeSettings->brand = 3 = Logo + Text --}}
|
||||
@if ($snipeSettings->brand == '3')
|
||||
|
||||
@if ($snipeSettings->email_logo!='')
|
||||
<img style="max-height: 100px; vertical-align:middle;" src="{{ \Storage::disk('public')->url(e($snipeSettings->email_logo)) }}">
|
||||
@endif
|
||||
|
||||
<img style="max-height: 100px; vertical-align:middle;" src="{{ \Storage::disk('public')->url(e($snipeSettings->email_logo)) }}">
|
||||
<br><br>
|
||||
{{ $snipeSettings->site_name }}
|
||||
<br><br>
|
||||
|
||||
{{-- else if branding type is just logo --}}
|
||||
@elseif ($snipeSettings->brand == '2')
|
||||
@if ($snipeSettings->email_logo!='')
|
||||
<img style="max-height: 100px; vertical-align:middle;" src="{{ \Storage::disk('public')->url(e($snipeSettings->email_logo)) }}">
|
||||
@else
|
||||
{{ $snipeSettings->site_name }}
|
||||
@endif
|
||||
<img style="max-height: 100px; vertical-align:middle;" src="{{ \Storage::disk('public')->url(e($snipeSettings->email_logo)) }}">
|
||||
@endif
|
||||
|
||||
@else
|
||||
|
|
Loading…
Reference in a new issue