{{ $questionsCount }} {{ trans('public.questions') }}
{{ $resolvedCount }} {{ trans('update.resolved') }}
{{ $openQuestionsCount }} {{ trans('update.open_questions') }}
{{ $commentsCount }} {{ trans('update.answers') }}
{{ $activeUsersCount }} {{ trans('update.active_users') }}

{{ trans('update.course_forum') }}

{{ trans('update.communicate_others_and_ask_your_questions') }}
@if($forums and count($forums)) @foreach($forums as $forum)
{{ $forum->user->full_name }}

{{ $forum->title }}

{{ trans('public.by') }} {{ $forum->user->full_name }} {{ trans('public.in') }} {{ dateTimeFormat($forum->created_at, 'j M Y | H:i') }}

{{ $forum->description }}

@if($course->isOwner($user->id)) @endif @if(!empty($forum->answers) and count($forum->answers))
{{ trans('public.answers') }} {{ $forum->answer_count }}
{{ trans('panel.users') }}
@if(!empty($forum->usersAvatars)) @foreach($forum->usersAvatars as $userAvatar)
{{ $userAvatar->full_name }}
@endforeach @endif @if(($forum->answers->groupBy('user_id')->count() - count($forum->usersAvatars)) > 0) +{{ $forum->answer_count - count($forum->usersAvatars) }} @endif
{{ trans('update.last_activity') }} {{ dateTimeFormat($forum->lastAnswer->created_at,'j M Y | H:i') }}
{{ trans('update.last_answer') }}
{{ $forum->lastAnswer->user->full_name }}

{{ $forum->lastAnswer->user->full_name }}

{!! truncate($forum->lastAnswer->description, 160) !!}

@if(!empty($forum->resolved))
{{ trans('update.resolved') }}
@endif
@else

{{ trans('update.be_the_first_to_answer_this_question') }}

{{ trans('public.answer') }}
@endif
@endforeach @else

{{ trans('update.learning_page_empty_content_title_hint') }}

@endif @include('web.default.course.learningPage.components.forum.ask_question_modal')