@extends('layouts.app') @push('pageTitle') {{ __('labels.conversation_guides') }} @endpush @section('content')
| # | {{ __('labels.title') }} | {{ __('labels.type') }} | {{ __('labels.category') }} | {{ __('labels.description') }} | {{ __('labels.created_at') }} | {{ __('labels.published_at') }} | {{ __('labels.action') }} |
|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} |
@if($item->logo_path)
{{ strtoupper(substr($item->title, 0, 2)) }}
@endif
{{ $item->title }}@if($item->creator) {{ $item->author_name ?? (auth()->check() ? auth()->user()->name : null) }} @endif |
@if($item->type) {{ __('labels.'.$item->type) }} {{-- {{ ucfirst($item->type) }} --}} @endif | @if($item?->category?->title) {{ $item?->category?->title }} @endif |
@if($item->description)
{{ Str::limit($item->description, 30, '...') }}
@else
-
@endif
|
{{ $item->created_at?->format('d.m.Y') }}
{{ $item->created_at?->format('H:i') }}
{{ $item->created_at?->shortRelativeDiffForHumans() }}
|
@if($item->published_at)
{{ $item->published_at ? date('d.m.Y', strtotime($item->published_at)) : '' }}
{{ $item->published_at ? date('H:i', strtotime($item->published_at)) : '' }}
{{ __('labels.published') }}
@else
{{ __('labels.draft') }}
@endif
|