A free open source IT asset/license management system
Added status to index
snipeb763f2b2f81e
diff --git a/resources/views/components/index.blade.php b/resources/views/components/index.blade.phpindex d90ba97eb0..813f2ab040 100644--- a/resources/views/components/index.blade.php+++ b/resources/views/components/index.blade.php@@ -1,9 +1,17 @@@extends('layouts/default')+@section('title0')+ @if (request('status') === 'Archived')+ {{ trans('general.archived') }}+ @elseif (request('status') === 'Deleted')+ {{ ucfirst(trans('general.deleted')) }}+ @endif+ {{ trans('general.components') }}+@stop+{{-- Page title --}}@section('title')-{{ trans('general.components') }}-@parent+ @yield('title0') @parent@stop@@ -11,7 +19,7 @@@section('content')<x-container><x-box name="components" sr_only_title>- <x-table.components :route="route('api.components.index')" />+ <x-table.components :route="route('api.components.index', ['status' => e(request('status'))])" /></x-box></x-container>@can('update', \App\Models\Component::class)