{{-- One side of a clash: a group's lesson, or a one-off room booking (3b). --}} @if (($row['kind'] ?? null) === 'booking') {{ __('Бронь: :title', ['title' => $row['title']]) }}
{{ date('d.m.Y', strtotime($row['begin_date'])) }} {{ substr($row['begin_time'], 0, 5) }}–{{ substr($row['end_time'], 0, 5) }} · {{ __('каб.') }} {{ $row['classroom_name'] }} @if (! empty($row['created_by_name'])) · {{ $row['created_by_name'] }} @endif
@else {{ $row['group_name'] }}
{{ \App\Support\Weekdays::toString((int) $row['weekdays']) }} {{ substr($row['begin_time'], 0, 5) }}–{{ substr($row['end_time'], 0, 5) }} @if ($row['classroom_name']) · {{ __('каб.') }} {{ $row['classroom_name'] }} @endif · {{ __('подобрать другое время') }}
@endif