@if (loading()) {
{{ 'LOADING' | translate }}
} @else if (entry(); as today) {
@if (preview(); as previewSVG) {
![]()
}
{{ today.layout.name }}
{{ dateLabel() }}
{{ challengeName(today.challenge) | translate }}
{{ challengeName(today.challenge) + '_DESC' | translate }}
@if (timeLimitRange(); as time) {
- {{ 'CHALLENGE_TIME_LEFT' | translate }}
-
{{ time.min | duration }}
@if (time.max !== time.min) {
- {{ time.max | duration }}
}
}
@if (info()?.matchTarget; as matchTarget) {
- {{ 'CHALLENGE_MATCHES' | translate }}
- {{ matchTarget }}
}
@if (info()?.scoreTarget; as scoreTarget) {
- {{ 'CHALLENGE_TARGET' | translate }}
- {{ scoreTarget }}
}
@if (today.result; as result) {
- {{ 'DAILY_ATTEMPTS' | translate:{ count: result.attempts } }}
@if (result.won && result.firstTry) {
{{ 'DAILY_FIRST_TRY' | translate }}
}
-
@if (result.won) {
{{ 'DAILY_COMPLETED' | translate }}
@if (result.playTime) {
{{ result.playTime | duration }}
}
} @else {
{{ 'DAILY_NOT_COMPLETED' | translate }}
}
}
}