#{{ $item['training_id'] }}
@if(!empty($item['is_passed']))
@elseif(!empty($item['has_participation']))
@else
@endif
@if(!empty($item['is_active']))
@elseif(empty($item['has_started']))
@else
@endif
{{ $item['topic'] }}
Materialy otwarte: {{ (int)($item['materials_opened_count'] ?? 0) }}
Proby testu: {{ (int)($item['attempts_count'] ?? 0) }}
@if(!empty($item['max_attempts']) && (int)($item['max_attempts']) > 0)
/ {{ (int)$item['max_attempts'] }}
@endif
@if(!empty($item['is_passed']))
Zaliczone
@endif
@if(!empty($item['is_attempt_limit_reached']))
Wykorzystano limit testow
@endif
@if(!empty($item['can_open']) && !empty($item['open_url']))
Otworz szkolenie
@if(!empty($item['is_active']))
Aktywne
@elseif(!empty($item['is_read_only_archive']))
Tryb tylko do odczytu
@else
Aktywne
@endif
@else
@if(empty($item['has_started']))
Dostep po godzinie rozpoczecia.
@endif
@endif