mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
translation string
This commit is contained in:
parent
3b8ab2d682
commit
8923206ac8
|
@ -12,6 +12,7 @@ return [
|
||||||
'bulk_update_warn' => 'You are about to edit the properties of a single asset.|You are about to edit the properties of :asset_count assets.',
|
'bulk_update_warn' => 'You are about to edit the properties of a single asset.|You are about to edit the properties of :asset_count assets.',
|
||||||
'bulk_update_with_custom_field' => 'Note the assets are :asset_model_count different types of models.',
|
'bulk_update_with_custom_field' => 'Note the assets are :asset_model_count different types of models.',
|
||||||
'bulk_update_model_prefix' => 'On Models:',
|
'bulk_update_model_prefix' => 'On Models:',
|
||||||
|
'bulk_update_custom_field_unique' => 'This is a unique field and can not be bulk edited.',
|
||||||
'checkedout_to' => 'Checked Out To',
|
'checkedout_to' => 'Checked Out To',
|
||||||
'checkout_date' => 'Checkout Date',
|
'checkout_date' => 'Checkout Date',
|
||||||
'checkin_date' => 'Checkin Date',
|
'checkin_date' => 'Checkin Date',
|
||||||
|
|
|
@ -20,15 +20,6 @@
|
||||||
<div class="form-group{{ $errors->has($field->db_column_name()) ? ' has-error' : '' }}">
|
<div class="form-group{{ $errors->has($field->db_column_name()) ? ' has-error' : '' }}">
|
||||||
<label for="{{ $field->db_column_name() }}" class="col-md-3 control-label">{{ $field->name }} </label>
|
<label for="{{ $field->db_column_name() }}" class="col-md-3 control-label">{{ $field->name }} </label>
|
||||||
<div class="col-md-7 col-sm-12{{ ($field->pivot->required=='1') ? ' required' : '' }}">
|
<div class="col-md-7 col-sm-12{{ ($field->pivot->required=='1') ? ' required' : '' }}">
|
||||||
{{-- @if ($field->is_unique)
|
|
||||||
<div>
|
|
||||||
<label>
|
|
||||||
<input type="text" class="col-md-6 form-control" disabled value="this is unique can't be edited">
|
|
||||||
{{ $field->name }}
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
@else --}}
|
|
||||||
|
|
||||||
|
|
||||||
@if ($field->element!='text')
|
@if ($field->element!='text')
|
||||||
<!-- Listbox -->
|
<!-- Listbox -->
|
||||||
|
@ -38,7 +29,7 @@
|
||||||
|
|
||||||
@elseif ($field->element=='textarea')
|
@elseif ($field->element=='textarea')
|
||||||
@if($field->is_unique)
|
@if($field->is_unique)
|
||||||
<input type="text" class="form-control" disabled value="This is a unique field and can not be edited">
|
<input type="text" class="form-control" disabled value="{{ trans('/admin/hardware/form.bulk_update_custom_field_unique') }}">
|
||||||
@endif
|
@endif
|
||||||
@if(!$field->is_unique)
|
@if(!$field->is_unique)
|
||||||
<textarea class="col-md-6 form-control" id="{{ $field->db_column_name() }}" name="{{ $field->db_column_name() }}">{{ Request::old($field->db_column_name(),(isset($item) ? Helper::gracefulDecrypt($field, $item->{$field->db_column_name()}) : $field->defaultValue($model->id))) }}</textarea>
|
<textarea class="col-md-6 form-control" id="{{ $field->db_column_name() }}" name="{{ $field->db_column_name() }}">{{ Request::old($field->db_column_name(),(isset($item) ? Helper::gracefulDecrypt($field, $item->{$field->db_column_name()}) : $field->defaultValue($model->id))) }}</textarea>
|
||||||
|
@ -82,7 +73,7 @@
|
||||||
|
|
||||||
@if (($field->field_encrypted=='0') || (Gate::allows('admin')))
|
@if (($field->field_encrypted=='0') || (Gate::allows('admin')))
|
||||||
@if ($field->is_unique)
|
@if ($field->is_unique)
|
||||||
<input type="text" class="form-control" disabled value="This is a unique field and can not be edited">
|
<input type="text" class="form-control" disabled value="{{trans('/admin/hardware/form.bulk_update_custom_field_unique')}}">
|
||||||
@endif
|
@endif
|
||||||
@if(!$field->is_unique)
|
@if(!$field->is_unique)
|
||||||
<input type="text" value="{{ Request::old($field->db_column_name(),(isset($item) ? Helper::gracefulDecrypt($field, $item->{$field->db_column_name()}) : $field->defaultValue($model->id))) }}" id="{{ $field->db_column_name() }}" class="form-control" name="{{ $field->db_column_name() }}" placeholder="Enter {{ strtolower($field->format) }} text">
|
<input type="text" value="{{ Request::old($field->db_column_name(),(isset($item) ? Helper::gracefulDecrypt($field, $item->{$field->db_column_name()}) : $field->defaultValue($model->id))) }}" id="{{ $field->db_column_name() }}" class="form-control" name="{{ $field->db_column_name() }}" placeholder="Enter {{ strtolower($field->format) }} text">
|
||||||
|
@ -98,10 +89,6 @@
|
||||||
@if ($field->help_text!='')
|
@if ($field->help_text!='')
|
||||||
<p class="help-block">{{ $field->help_text }}</p>
|
<p class="help-block">{{ $field->help_text }}</p>
|
||||||
@endif
|
@endif
|
||||||
{{-- @if ($field->is_unique)
|
|
||||||
<p class="help-block">Unique, Can't Be Bulk Updated</p>
|
|
||||||
@endif --}}
|
|
||||||
|
|
||||||
|
|
||||||
<p>{{ trans('admin/hardware/form.bulk_update_model_prefix') }}
|
<p>{{ trans('admin/hardware/form.bulk_update_model_prefix') }}
|
||||||
@foreach($field->assetModels() as $assetModel)
|
@foreach($field->assetModels() as $assetModel)
|
||||||
|
@ -131,7 +118,6 @@
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{{-- @endif --}}
|
|
||||||
@endforeach
|
@endforeach
|
||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
Loading…
Reference in a new issue