- @if ($debug_in_production)
@@ -827,25 +826,72 @@ dir="{{ Helper::determineLanguageDirection() }}"> @endif -
-

@yield('title')

+
- @if (isset($helpText)) - @include ('partials.more-info', - [ - 'helpText' => $helpText, - 'helpPosition' => (isset($helpPosition)) ? $helpPosition : 'left' - ]) - @endif -
-
+
diff --git a/resources/views/licenses/edit.blade.php b/resources/views/licenses/edit.blade.php index 4dbde2935e..27f60931c8 100755 --- a/resources/views/licenses/edit.blade.php +++ b/resources/views/licenses/edit.blade.php @@ -68,7 +68,7 @@
@@ -124,7 +124,7 @@
{{ trans('admin/licenses/form.maintained') }}
diff --git a/resources/views/livewire/category-edit-form.blade.php b/resources/views/livewire/category-edit-form.blade.php index cb80eb45d3..82dbf57e85 100644 --- a/resources/views/livewire/category-edit-form.blade.php +++ b/resources/views/livewire/category-edit-form.blade.php @@ -3,7 +3,12 @@
- {{ Form::textarea('eula_text', null, ['wire:model.live' => 'eulaText', 'class' => 'form-control', 'aria-label'=>'eula_text', 'disabled' => $this->eulaTextDisabled]) }} +

{!! trans('admin/categories/general.eula_text_help') !!}

{!! trans('admin/settings/general.eula_markdown') !!}

{!! $errors->first('eula_text', '') !!} diff --git a/resources/views/livewire/slack-settings-form.blade.php b/resources/views/livewire/slack-settings-form.blade.php index 76b3987229..48e0fb72ad 100644 --- a/resources/views/livewire/slack-settings-form.blade.php +++ b/resources/views/livewire/slack-settings-form.blade.php @@ -83,7 +83,7 @@
- {{ Form::label('webhook_endpoint', trans('admin/settings/general.webhook_endpoint',['app' => $webhook_name ])) }} +
@@ -100,7 +100,7 @@ @if($webhook_selected != 'microsoft' && $webhook_selected!= 'google')
- {{ Form::label('webhook_channel', trans('admin/settings/general.webhook_channel',['app' => $webhook_name ])) }} +
@@ -118,7 +118,7 @@ @if($webhook_selected != 'microsoft' && $webhook_selected != 'google')
- {{ Form::label('webhook_botname', trans('admin/settings/general.webhook_botname',['app' => $webhook_name ])) }} +
diff --git a/resources/views/locations/edit.blade.php b/resources/views/locations/edit.blade.php index 4b4e655a52..004053d8ab 100755 --- a/resources/views/locations/edit.blade.php +++ b/resources/views/locations/edit.blade.php @@ -57,6 +57,23 @@
@endif + @include ('partials.forms.edit.image-upload', ['image_path' => app('locations_upload_path')]) + +
+ +
+ + {!! $errors->first('notes', '') !!} +
+
+ @stop diff --git a/resources/views/locations/print.blade.php b/resources/views/locations/print.blade.php index 9f54978ff5..a047f02279 100644 --- a/resources/views/locations/print.blade.php +++ b/resources/views/locations/print.blade.php @@ -126,7 +126,7 @@ @foreach ($assets as $asset) @php - if($snipeSettings->show_archived_in_list != 1 && $asset->assetstatus->archived == 1){ + if($snipeSettings->show_archived_in_list != 1 && $asset->assetstatus?->archived == 1){ continue; } @endphp diff --git a/resources/views/locations/view.blade.php b/resources/views/locations/view.blade.php index b711676464..b10cb315e0 100644 --- a/resources/views/locations/view.blade.php +++ b/resources/views/locations/view.blade.php @@ -314,11 +314,13 @@
-

- Assigned Accessories -

+ +

+ {{ trans('general.accessories_assigned') }} +

+ app('manufacturers_upload_path')]) +
+ +
+ + {!! $errors->first('notes', '') !!} +
+
+ @stop diff --git a/resources/views/modals/add-note.blade.php b/resources/views/modals/add-note.blade.php index 9c14098f06..8208fc36a9 100644 --- a/resources/views/modals/add-note.blade.php +++ b/resources/views/modals/add-note.blade.php @@ -1,28 +1,35 @@ {{-- See snipeit_modals.js for what powers this --}} - @@ -40,7 +48,7 @@ {{ trans('button.cancel') }} - {{ Form::close() }} + diff --git a/resources/views/models/bulk-edit.blade.php b/resources/views/models/bulk-edit.blade.php index 8a053b048f..7a283fbba6 100644 --- a/resources/views/models/bulk-edit.blade.php +++ b/resources/views/models/bulk-edit.blade.php @@ -84,15 +84,15 @@
diff --git a/resources/views/models/custom_fields_form.blade.php b/resources/views/models/custom_fields_form.blade.php index 4949fae71c..325540c6e1 100644 --- a/resources/views/models/custom_fields_form.blade.php +++ b/resources/views/models/custom_fields_form.blade.php @@ -1,10 +1,18 @@ @if (($model) && ($model->fieldset)) @foreach($model->fieldset->fields AS $field) + @if ( + ((!isset($show_display_checkin_fields)) + || (($field->display_checkin == '1') + && ($show_display_checkin_fields =='true'))) && + ((!isset($show_display_checkout_fields)) + || (($field->display_checkout == '1') + && ($show_display_checkout_fields =='true'))) + ) +
- @if ($field->element!='text') @if ($field->element=='listbox') @@ -83,6 +91,7 @@
+ @endif @endforeach @endif diff --git a/resources/views/models/index.blade.php b/resources/views/models/index.blade.php index cc2986cb87..6f3f5e78df 100755 --- a/resources/views/models/index.blade.php +++ b/resources/views/models/index.blade.php @@ -62,7 +62,6 @@
- {{ Form::close() }}
diff --git a/resources/views/models/view.blade.php b/resources/views/models/view.blade.php index 15ce82d67f..8e99f55713 100755 --- a/resources/views/models/view.blade.php +++ b/resources/views/models/view.blade.php @@ -31,7 +31,18 @@
+ + @if ($model->deleted_at!='') +
+
+ + {{ trans('admin/models/general.deleted') }} +
+
+ @endif +
+ @@ -154,6 +164,24 @@