@extends('layouts.app') @section('content')
{{ __('texte.categories_arr.history.category_created')}} {{__('texte.categories_arr.history.by')}} {{$history->userResponsible()->name }} | {{__('texte.categories_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{__('texte.categories_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }} |
{{ __('texte.categories_arr.history.category_deleted')}} {{ __('texte.categories_arr.history.by')}} {{ $history->userResponsible()->name }} | {{ __('texte.categories_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{ __('texte.categories_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }} |
{{ $history->userResponsible()->name }} {{__('texte.categories_arr.history.changed_field')}} @switch($history->fieldName()) @case('name') {{__('texte.categories_arr.history.name')}} {{__('texte.categories_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : $history->oldValue()}} {{__('texte.categories_arr.history.to')}} {{ $history->newValue() }} @break @case('description') {{__('texte.categories_arr.history.description')}} {{__('texte.categories_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : $history->oldValue()}} {{__('texte.categories_arr.history.to')}} {{ $history->newValue() }} @break @case('meta_title') {{__('texte.categories_arr.history.meta_title')}} {{__('texte.categories_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : $history->oldValue()}} {{__('texte.categories_arr.history.to')}} {{ $history->newValue() }} @break @case('meta_keywords') {{__('texte.categories_arr.history.meta_keywords')}} {{__('texte.categories_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : $history->oldValue()}} {{__('texte.categories_arr.history.to')}} {{ $history->newValue() }} @break @case('meta_description') {{__('texte.categories_arr.history.meta_description')}} {{__('texte.categories_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : $history->oldValue()}} {{__('texte.categories_arr.history.to')}} {{ $history->newValue() }} @break @case('active') {{__('texte.categories_arr.history.active')}} {{__('texte.categories_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : __('texte.replies_arr')[$history->oldValue()]}} {{__('texte.categories_arr.history.to')}} {{ __('texte.replies_arr')[$history->newValue()] }} @break @default {{$history->fieldName()}} {{__('texte.categories_arr.history.from')}} {{ $history->oldValue()==null ? '" "' : $history->oldValue()}} {{__('texte.categories_arr.history.to')}} {{ $history->newValue() }} @break @endswitch | {{__('texte.categories_arr.history.on')}} {{ date("d.m.Y",strtotime($history->created_at)) }} {{__('texte.categories_arr.history.at')}} {{ date("H:i",strtotime($history->created_at)) }} |