diff --git a/layouts/partials/booking.html b/layouts/partials/booking.html index 385de390..d28991f0 100644 --- a/layouts/partials/booking.html +++ b/layouts/partials/booking.html @@ -41,25 +41,25 @@ {{- end -}} {{- end -}} -
- {{- if and (ne .reservations "nil") (ne .reservations false) .classes -}} - {{ T "booking.reservation-costs" }} - {{- range $k, $v := .classes -}} - {{- if ne $v "nil" }} + {{- if or (and (ne .reservations "nil") (ne .reservations false) .classes) (ne .fee "nil") -}} +
+ {{- if and (ne .reservations "nil") (ne .reservations false) .classes -}} + {{ T "booking.reservation-costs" }} + {{- range $k, $v := .classes -}}
{{- T (print "booking.classes." $k) -}}: {{ $v -}}
- {{- end }} + {{- end -}} {{- end -}} - {{- end -}} - {{- if ne .fee "nil" -}} - {{ T "booking.fee" }} -
{{ .fee }}
- {{- end -}} -
+ {{- if ne .fee "nil" -}} + {{ T "booking.fee" }} +
{{ .fee }}
+ {{- end -}} +
+ {{- end -}} {{- partial "icon" "keyboard_arrow_down" -}}