{%- macro render_agenda(event, agenda) -%}

{% trans title=event.title %}Agenda for {{ title }}{% endtrans %}

{% if not agenda -%}

{% trans %}There are no events scheduled.{% endtrans %}

{%- endif -%} {%- endmacro -%} {%- macro render_item(item) -%} {%- if item.type.name == 'SESSION_BLOCK' -%} {{ render_session_block(item) }} {%- else -%} {{ render_entry(item) }} {%- endif -%} {%- endmacro -%} {%- macro render_session_block(entry) -%}
  • {{ render_times(entry) }} {{ entry.object.full_title }}
  • {%- endmacro -%} {%- macro render_entry(entry) -%}
  • {{ render_times(entry) }} {{ entry.object.title }}
  • {%- endmacro -%} {%- macro render_times(entry) -%} [{{ entry.start_dt | format_time(timezone=entry.event.tzinfo) }} - {{ entry.end_dt | format_time(timezone=entry.event.tzinfo) }}] {%- endmacro -%}