@if (loading()) {

Caricamento evento...

} @else if (loadError(); as message) { } @else if (evento(); as ev) {

{{ ev.titolo }}

{{ ev.tipo }} {{ ev.brancaId }} @if (ev.parentId) { sotto-evento }

@if (puoGestireEvento()) { } @if (puoGestireEvento()) { }
@if (ev.descrizione) {

{{ ev.descrizione }}

}
Inizio
{{ formatData(ev.dataInizio) }}
Fine
{{ formatData(ev.dataFine) }}
@if (ev.location) {
Location
{{ ev.location }}
}

Timeline

@for (giorno of timeline(); track giorno.data) {
{{ giorno.etichetta }}
@for (figlio of giorno.figli; track figlio.id) { }
}

Risorse collegate

@if (ev.risorseCollegate.length === 0) {

Nessuna risorsa collegata.

} @else { }
}