@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')
{{ csrf_field() }}
« {{ __('Articles') }} {{----}} @if ($article->status == \KbArticle::STATUS_DRAFT) @else @endif @if ($article->status == \KbArticle::STATUS_DRAFT) {{ __('Status') }}: {{ $article->getStatusName() }}@else {{ __('View') }}@endif 
@php $categories_tree = \KbCategory::getTree($mailbox->id); @endphp @if (count($categories_tree))
@endif @php \Kb::$use_primary_if_empty = false; @endphp @if (count(\Kb::getLocales($mailbox)) && $mode != 'create') @endif @php $show_primary_values = \Kb::isMultilingual($mailbox) && request()->kb_locale && request()->kb_locale != \Kb::defaultLocale($mailbox) && $mode != 'create'; @endphp
@if ($show_primary_values) @endif @if ($show_primary_values) @endif
@endsection @include('partials/editor') @section('javascript') @parent kbInitArticle(" {{ __('Category') }}", "{{ __('Are you sure you want to delete this article?') }}", "{{ route('mailboxes.knowledgebase.articles', ['id'=>$mailbox->id]) }}"); @endsection