{{-- /student/courses.php — CourseController::index(): disciplines first (Courses::byDiscipline()); ?discipline=ID lists that discipline's courses, with progress. --}} @extends('layouts.gamification') @section('title', $group ? ($group->name ?? __('Общие курсы')) : __('Курсы')) @section('gami-active', 'courses') @push('styles') @endpush @section('gami-content') @if ($group === null)
{{ __('Уроки с объяснениями, видео и материалами. За каждый пройденный урок — +:n 🪙.', ['n' => \App\Services\Courses::LESSON_COINS]) }}
@if (empty($groups))