mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Merge remote-tracking branch 'origin/develop'
Signed-off-by: snipe <snipe@snipe.net> # Conflicts: # config/version.php
This commit is contained in:
commit
daa550cc82
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
return array (
|
||||
'app_version' => 'v7.0.9',
|
||||
'full_app_version' => 'v7.0.9 - build 14371-g1a541ce22',
|
||||
'build_version' => '14371',
|
||||
'full_app_version' => 'v7.0.9 - build 14485-ga98ad76c6',
|
||||
'build_version' => '14485',
|
||||
'prerelease_version' => '',
|
||||
'hash_version' => 'g1a541ce22',
|
||||
'full_hash' => 'v7.0.9-119-g1a541ce22',
|
||||
'hash_version' => 'ga98ad76c6',
|
||||
'full_hash' => 'v7.0.9-112-ga98ad76c6',
|
||||
'branch' => 'master',
|
||||
);
|
|
@ -1,6 +1,6 @@
|
|||
<!-- Image stuff - kept in /resources/views/partials/forms/edit/image-upload.blade.php -->
|
||||
<!-- Image Delete -->
|
||||
@if (isset($item) && ($item->image) && ($item->image!=''))
|
||||
@if (isset($item) && ($item->{($fieldname ?? 'image')}))
|
||||
<div class="form-group{{ $errors->has('image_delete') ? ' has-error' : '' }}">
|
||||
<div class="col-md-9 col-md-offset-3">
|
||||
<label class="form-control">
|
||||
|
@ -12,7 +12,7 @@
|
|||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-md-9 col-md-offset-3">
|
||||
<img src="{{ Storage::disk('public')->url($image_path.e($item->image)) }}" class="img-responsive">
|
||||
<img src="{{ Storage::disk('public')->url($image_path.e($item->{($fieldname ?? 'image')})) }}" class="img-responsive">
|
||||
{!! $errors->first('image_delete', '<span class="alert-msg">:message</span>') !!}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue