{{define "journeys_public_transit"}} {{ if eq (len .ViewState.journeys.Journeys) 0}}

Aucun transport en commun pour ce trajet.

{{end}} {{$first := true}} {{range .ViewState.journeys.Journeys}} {{if $first}} {{$first = false}}
{{else}}
{{end}}
{{(timeFrom .Departure).Format "15:04"}} - {{(timeFrom .Arrival).Format "15:04"}}
{{.Duration.Minutes | printf "%.0f"}} Minutes
{{end}} {{end}}