{{ greeting() }} familia
@if (todayHoliday(); as hol) { } @else { @if (pendingTasks().length > 0) {{{ pendingTasksLabel() }}
} @else {Hoy parece tranquilo.
} } @if (upcomingBirthdays().length > 0 && upcomingBirthdays()[0].daysAhead <= 7) {🎂
}{{ w.currentTemperature | number: '1.0-0' }}°
{{ w.weatherLabel }}
@if (w.locationLabel) { {{ w.locationLabel }} · }
🌅 {{ w.sunrise }} · 🌇 {{ w.sunset }}
} } @else {Configura la ubicación para ver el tiempo.
}
Hoy en el
cole
@if (todayHoliday(); as hol) {
} @else if (todaySchoolDays().length === 0 && todayExtras().length === 0) {
Sin actividad de cole programada para hoy.
} @else {-
@for (b of todaySchoolDays(); track b.memberId) {
-
{{ schoolModeIcon(b.transportMode) }}
@if (b.isCancelled) {
{{ memberName(b.memberId) }}
} @else { } @if (b.notes) {· sin cole {{ b.notes }}
}
}
@for (e of todayExtras(); track e.extracurricularId) {
-
🎒
{{ e.name }} · {{ memberName(e.memberId) }} · {{ formatTime(e.startTime) }}–{{ formatTime(e.endTime) }} @if (e.location) { · {{ e.location }} }
@if (!e.isCancelled) {{{ extraTransportLine(e) }}
}
}
Tareas
de hoy
@if (pendingTasks().length === 0) {
Hoy no queda nada por hacer ✨
} @else {-
@for (row of pendingTasks(); track row.task.id) {
-
@if (row.task.responsibleMemberId) {
{{ row.task.title }}
@if (row.task.isFloating) {
Sin fecha } @else if (row.task.timeOfDay) { {{ row.task.timeOfDay.slice(0, 5) }} } @else { {{ row.task.category }} }}
}
Próxima
agenda
@if (upcomingEvents().length === 0) {
Sin eventos en los próximos 7 días.
} @else {-
@for (event of upcomingEvents(); track event.id) {
-
{{ eventDayLabel(event) }}
{{ eventTimeLabel(event) }}
{{ event.title }}
@if (event.location) {📍 {{ event.location }}
}
}
Hoy se come en
la mesa
@if (!hasMeals()) {
☀️
{{ todayLunch()?.firstCourse }}
} @if (todayLunch()?.secondCourse) {{{ todayLunch()?.secondCourse }}
} } @else {sin planificar
}
🌙
{{ todayDinner()?.firstCourse }}
} @if (todayDinner()?.secondCourse) {{{ todayDinner()?.secondCourse }}
} } @else {sin planificar
}
Lo último en el
muro
@if (pinned().length === 0 && recentMessages().length === 0) {
El muro está en silencio.
} @else {-
@for (msg of pinned(); track msg.id) {
-
📌
{{ memberName(msg.authorMemberId) }} · {{ msg.createdAt | date: 'd MMM' }}
}
@for (msg of recentMessages(); track msg.id) {
-
{{ memberName(msg.authorMemberId) }} · {{ msg.createdAt | date: 'd MMM HH:mm' }}
}