@extends('template.'.config('settings.template').'.content.dashboard.app') @section('content')
@sortablelink('created_at', __('admin-content.date')) | @sortablelink('title', __('admin-content.title')) | @sortablelink('nachrichten', __('admin-content.message')) | @sortablelink('category_id', __('admin-content.category')) | {{ __('admin-content.extras') }} | {{ __('admin-content.actions') }} | @sortablelink('approved', 'Status') |
---|---|---|---|---|---|---|
{{ $nach->created_at->diffForHumans() }} | @if($nach->approved == 1) @if($nach->type == 'news') {{Str::limit($nach->title, 30,'...')}} @else {{Str::limit($nach->title, 30,'...')}} @endif @else() {{Str::limit($nach->title, 30,'...')}} @endif | {{ Str::limit(strip_tags(html_entity_decode($nach->nachrichten)), 90, $end = '...') }} | @if ($nach->category) {{ $nach->category->name }} @else - @endif | @if(sizeof($nach->files) > 0) {{sizeof($nach->files)}} @endif @if(sizeof($nach->comments) > 0) {{sizeof($nach->comments)}} @endif @if ($type->id == 3) @foreach ($nach->actions as $action) {{ $action->name }} @endforeach @endif | | | @if ($nach->paid != 0 and (empty($nach->premium_until) or $nach->premium_until > date('Y-m-d'))) | @endif @if($nach->approved != 1) @if ($nach->approved == 2) @else @endif @else @endif |
No records found! |