@extends('admin.layouts.master-soyuz') @section('title',__('All Categories')) @section('body') @include('admin.layouts.topbar',$data)
| # | {{ __('Image') }} | {{ __('Title') }} | {{ __('Detail') }} | {{ __('Status') }} | {{ __('Featured') }} | {{ __('Action') }} |
|---|---|---|---|---|---|---|
| {{ ++$key }} |
@if($cat->image != '' && file_exists(public_path().'/images/category/'.$cat->image) )
|
{{ $cat->title }} |
{{__('Name')}}: {{$cat->title}} {{__('Description')}}: {{substr(strip_tags($cat->description), 0, 100)}}{{strlen(strip_tags( $cat->description))>100 ? '...' : ""}} |
@can('category.edit') @endcan | @can('category.edit') @endcan |
@can('category.edit')
{{ __("Edit") }}
@endcan
@can('category.delete')
{{ __("Delete") }}
@endcan
{{ __("DELETE") }}{{ __('Are You Sure ?')}}{{ __('Do you really want to delete')}}? {{ __('This process cannot be undone.')}} |
{{ __('Follow the instructions carefully before importing the file.') }}
{{ __('The columns of the file should be in the following order.') }}
| {{ __('Column No') }} | {{ __('Column Name') }} | {{ __('Required') }} | {{ __('Description') }} |
|---|---|---|---|
| 1 | name | {{ __('Yes') }} | {{ __("Enter category name") }} |
| 2 | status | {{ __('Yes') }} | {{__('Category status')}} (1 = {{ __('active') }}, 0 = {{ __('deactive') }}) . |
| 3 | image | {{ __('No') }} | {{__("Name your image eg: example.jpg")}} (Image can be uploaded using Media Manager / Category Files Tab. ) . |
| 4 | icon | {{ __('No') }} | {{__("Icon class name eg:")}} fa-book. . |
| 5 | description | {{ __('No') }} | {{__('Description of your category.') }} |
| 6 | featured | {{ __('No') }} | {{__('Set category to be featured')}} 1 = {{__('Yes')}} , 0 = {{__("No")}}. |