{$t('dashboard.current_lesson')}

{#if highlightedCourses.length > 0}
{#each highlightedCourses as course}

{course.title}

{course.description}

{#if course.type === 'COMPLIANCE'} {@const complianceStatusKey = getStudentCourseComplianceStatusKey(course)} {@const complianceDate = getStudentCourseComplianceDate(course)}
{#if complianceStatusKey} {$t(complianceStatusKey)} {/if} {#if complianceDate?.value}

{$t(complianceDate.labelKey)}: {formatDate(complianceDate.value)}

{/if}
{/if}
{/each}
{:else} {/if}