{{- $block := .block -}} {{- $block_class := partial "GetBlockClass" .block -}} {{- with .block.data -}}
{{ partial "blocks/top.html" (dict "title" $block.title "heading_level" $block.ranks.self "description" .description )}}
{{ if .name }}

{{ .name }}

{{ end }} {{ with .information }} {{ partial "PrepareHTML" . }} {{ end }}
{{ with .address }} {{ if or .address .city .zipcode .country }}

{{- i18n "commons.contact.address" -}}

{{ if .address }} {{ partial "PrepareHTML" .address }},
{{ end }} {{ if .city }} {{ partial "PrepareHTML" .city }} {{ end }} {{ if .zipcode }} {{ partial "PrepareHTML" .zipcode }} {{ end }} {{ if .country }} {{ partial "PrepareHTML" .country }} {{ end }}
{{ end }} {{ end }} {{ if or .url .emails }}

{{- i18n "commons.contact.web" -}}

{{ range .emails }}

{{ . }}

{{ end }} {{ with .url }}

{{ . }}

{{ end }}
{{ end }} {{ with .phone_numbers }}

{{- i18n "commons.contact.phone" -}}

{{ range . }}

{{ . }}

{{ end }}
{{ end }}
{{ if .timetable}} {{- i18n "commons.contact.schedule" -}}
    {{ range .timetable }} {{ if or .time_slot_morning.from .time_slot_morning.to .time_slot_afternoon.from .time_slot_afternoon.to }}
  • {{ .title }} {{ if or .time_slot_morning.from .time_slot_morning.to }} {{- if .time_slot_morning.from }} {{ end -}} {{- if .time_slot_morning.to }} {{ end -}} {{ end }} {{ if or .time_slot_afternoon.from .time_slot_afternoon.to }} {{- if .time_slot_afternoon.from }} {{ end -}} {{- if .time_slot_afternoon.to }} {{ end -}} {{ end -}}
  • {{ end }} {{ end }}
{{ end }}
{{- end -}}