Merge pull request #3140 from opengd/2.4

Changed app_banner_type on two locations due to banner image is currently not working
This commit is contained in:
James Brooks
2018-06-28 08:14:45 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@
<label>{{ trans('forms.settings.app-setup.banner') }}</label>
@if($appBanner)
<div id="banner-view" class="well">
<img src="data:{{ $app_banner_type }};base64,{{ $appBanner }}" style="max-width: 100%">
<img src="data:{{ $appBannerType }};base64,{{ $appBanner }}" style="max-width: 100%">
<br><br>
<button id="remove-banner" class="btn btn-danger">{{ trans('forms.remove') }}</button>
</div>

View File

@@ -7,7 +7,7 @@
<div class="row app-banner-padding @if(!$appBannerStyleFullWidth) app-banner @endif">
<div class="col-md-12 text-center">
@if($appDomain)
<a href="{{ $appDomain }}" class="links"><img src="data:{{ $app_banner_type }};base64, {{ $appBanner }}" class="banner-image img-responsive"></a>
<a href="{{ $appDomain }}" class="links"><img src="data:{{ $appBannerType }};base64, {{ $appBanner }}" class="banner-image img-responsive"></a>
@else
<img src="data:{{ $appBannerType }};base64, {{ $appBanner }}" class="banner-image img-responsive">
@endif