Add page showing list of series

Resolves: #17
This commit is contained in:
Edward Betts 2023-09-25 14:25:04 +01:00
parent 08a4ffa89f
commit 22067b97e7
4 changed files with 52 additions and 1 deletions

View file

@ -0,0 +1,38 @@
{% extends "base.html" %}
{% block title %}Series – Conference archive{% endblock %}
{% block content %}
<h1>Conference archive</h1>
<p>{{ items.count() }} series found</p>
{% for item in items %}
<h3>{{ item.name }}</h3>
{% for conf in item.conferences %}
<div style="margin-bottom:1.5rem">
👥
<a href="{{ url_for("conference_page", short_name=conf.short_name) }}">{{ conf.title }}</a>
📅
{{ conf.start.strftime("%d %b %Y") }}
<br/>
{% if conf.venue %}
📍
{{ conf.venue.name }}
&ndash;
{{ conf.venue.city.name }},
{{ conf.venue.city.country.name }}
{{ conf.venue.city.country.flag }}
<br/>
{% endif %}
{{ (conf.end - conf.start).days + 1 }} days,
{{ conf.events.count() }} talks,
{{ conf.people_detail.count() }} speakers<br/>
</div>
{% endfor %}
{% endfor %}
{% endblock %}