@extends( ($theme =="white") ? 'layouts.white_theme': ( ($theme =="red") ? 'layouts.red_theme': (($theme =="green") ? 'layouts.green_theme': (($theme =="black") ? 'layouts.black_theme': ( ($theme =="blue") ?'layouts.blue_theme': 'layouts.yellow_theme' )))) ) @section('content')

{{ __('KB Articles') }}

@include('common.demo') @include('common.errors')
@if($show_add_button) {{__('Add')}} @endif
@if (!count($kb_articles))

{{ __('No data found') }} !!

{{ __('Sorry we cant find any data, to get rid of this message, make at least 1 entry') }}.

{{ __('Create new One') }}
@else @if($show_edit_button || $show_delete_button) @endif @foreach($kb_articles as $kb_article) @if($show_edit_button || $show_delete_button) @endif @endforeach
{{ __('Category') }} @if($sort_order =='asc') @else @endif {{ __('Name') }} @if($sort_order =='asc') @else @endif {{ __('Created At') }} @if($sort_order =='asc') @else @endif
{{$kb_article->categories->name}} {{$kb_article->name}} {{$kb_article->created_at->diffForHumans()}} @if($show_edit_button) @endif @if($show_delete_button)
@method('DELETE') @csrf
@endif
@endif
{{ $kb_articles->appends($request->all())->links("pagination::bootstrap-4") }}
@endsection