Commit c12d24ff authored by Zhou Fang's avatar Zhou Fang Committed by Martin Lowe
Browse files

added multi-time support

parent 0199eb7e
......@@ -105,6 +105,7 @@ Targets ./data/en/no_types/agenda.yaml:
Targets ./data/en/active/agenda.yaml:
Adding a "times" list into the items in agenda.yaml above will show multiple times like last 2 rows below
{{< events/agenda event="active">}}
......@@ -114,6 +115,7 @@ Targets ./data/en/active/agenda.yaml:
Targets ./data/en/slides/agenda.yaml:
Adding a "times" list into the items in agenda.yaml above will show multiple times like last 2 rows below
{{< events/agenda event="slides">}}
......
......@@ -19,9 +19,17 @@ items:
- name: Industry Keynote
presenter: Eclipse Foundation, .etc
time: 19:00-20:00
times:
- 19:00-19:45 CET
- 13:00-13:45 EST
- 10:00-10:45 PST
type: keynote
vod: "#3"
- name: Lunch Break
time: 12:00-13:00
times:
- 19:45-20:00 CET
- 13:45-14:00 EST
- 10:45-11:00 PST
type: break
\ No newline at end of file
......@@ -21,10 +21,18 @@ items:
- name: Industry Keynote
presenter: Eclipse Foundation, .etc
time: 19:00-20:00
times:
- 19:00-19:45 CET
- 13:00-13:45 EST
- 10:00-10:45 PST
type: keynote
vod: "#3"
slides: "#slide-3"
- name: Dinner Break
time: 20:00-20:30
times:
- 19:45-20:00 CET
- 13:45-14:00 EST
- 10:45-11:00 PST
type: break
\ No newline at end of file
......@@ -167,7 +167,17 @@ span.eclipsefdn-agenda-legend-icon-{{ urlize .id }}::after {
{{ end }}
</td>
{{ else }}
<td>{{ .time }}</td>
{{if .times }}
<td>
<ul style="list-style: none; padding: 0; margin: 0">
{{range .times}}
<li>{{ . }}</li>
{{end}}
</ul>
</td>
{{else}}
<td>{{.time}}</td>
{{end}}
{{ end }}
<!-- Write the slide column if it has been set -->
{{ if $has_slides }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment