{{$currLang:=.Page.Lang }} {{$langBase:=index .Site.Data $currLang}} {{ .Scratch.Set "agenda" $langBase.agenda }} {{$event_id := .Get 0}} {{ if and ($event_id) (ne $event_id "") }} {{ .Scratch.Set "agenda" (index $langBase $event_id).agenda }} {{ end }} {{$events := (.Scratch.Get "agenda").items}} {{$types := (.Scratch.Get "agenda").types}} {{$complete := (.Scratch.Get "agenda").complete }} {{$title_suffix := .Get 1 }} {{ $has_slides:=false }} {{ range $events }} {{ if isset . "slides" }} {{ $has_slides = true }} {{ end }} {{ end }}
{{ i18n "agenda-session-name" }} | {{ i18n "agenda-presenter-name" }} | {{ if $complete }}{{ i18n "agenda-session-recording" }} | {{ else }}{{ i18n "agenda-session-schedule" }} | {{ end }} {{ if $has_slides }}{{ i18n "agenda-session-slides" }} | {{ end }}
---|---|---|---|---|
{{ if $types }} | {{ end }} {{ .name }}{{ .presenter }} | {{ if $complete }}{{ i18n "agenda-session-recording-button-alt" . }} | {{ else }}{{ .time }} | {{ end }} {{ if $has_slides }}{{ if (isset . "slides") }} {{ i18n "agenda-session-slides-button-alt" . }} {{ end }} | {{ end }}