@extends('layouts.app') @section('title_full', __('Knowledge Base').' - '.$mailbox->name) @section('sidebar') @include('partials/sidebar_menu_toggle') @include('mailboxes/sidebar_menu') @endsection @section('content')
{{ __('Knowledge Base') }}
@include('knowledgebase::partials/settings_tab')
{{ __('Category') }}
{{ __('New Article') }} @if ($articles && $category_id) {{ __('Sorting') }}: @endif
@if (count($articles))
@foreach($articles as $article)
@if ($category_id > 0) @endif

{{--@if ($article->isPublished())   @endif  --}} @if (!$article->isPublished()) @endif {{ $article->title }} @foreach(\Kb::getLocales($mailbox) as $locale) @if (!$article->translatedInLocale($locale)) ยท {{ strtoupper($locale) }} @endif @endforeach

@endforeach
@else @include('partials/empty', ['icon' => 'list', 'empty_text' => __('No articles found')]) @endif
@endsection @section('javascript') @parent kbInitArticles(); @endsection