Fixes #2510 and #2488 - CSS class added to images in views

This commit is contained in:
snipe 2016-08-30 07:20:07 -07:00
parent 213cda8cf4
commit 5090468357
2 changed files with 4 additions and 4 deletions

View file

@ -288,9 +288,9 @@
<div class="col-md-4">
@if ($asset->image)
<img src="{{ config('app.url') }}/uploads/assets/{{{ $asset->image }}}" class="assetimg">
<img src="{{ config('app.url') }}/uploads/assets/{{{ $asset->image }}}" class="assetimg img-responsive">
@elseif ($asset->model->image!='')
<img src="{{ config('app.url') }}/uploads/models/{{{ $asset->model->image }}}" class="assetimg">
<img src="{{ config('app.url') }}/uploads/models/{{{ $asset->model->image }}}" class="assetimg img-responsive">
@endif
@if (App\Models\Setting::getSettings()->qr_code=='1')

View file

@ -68,7 +68,7 @@
<!-- side address column -->
<div class="col-md-3">
<h4>More Info:</h4>
<ul>
<ul class="list-unstyled">
@if ($model->manufacturer)
<li>{{ trans('general.manufacturer') }}:
@ -94,7 +94,7 @@
@endif
@if ($model->image)
<li><br /><img src="{{ config('app.url') }}/uploads/models/{{ $model->image }}" /></li>
<li><br /><img src="{{ config('app.url') }}/uploads/models/{{ $model->image }}" class="img-responsive"></li>
@endif
@if ($model->deleted_at!='')