@extends('admin.layouts.grid') @section('section', admin_trans('Knowledge base')) @section('title', admin_trans('Articles')) @section('link', route('admin.knowledgebase.articles.create')) @section('content')
{{ admin_trans('ID') }} | {{ admin_trans('Article') }} | {{ admin_trans('Categories') }} | {{ admin_trans('Views') }} | {{ admin_trans('Likes') }} | {{ admin_trans('Dislikes') }} | {{ admin_trans('Published date') }} | ||
---|---|---|---|---|---|---|---|---|
{{ $article->id }} |
{{ shorterText($article->title, 30) }}
{{ shorterText($article->short_description, 40) }} |
@if ($article->categories->count() > 0)
@foreach ($article->categories as $category)
@endforeach
@else
--
@endif
|
{{ $article->views }} | {{ $article->likes }} | {{ $article->dislikes }} | {{ dateFormat($article->created_at) }} |
|