Add conference detail pages and cached flight searches

This commit is contained in:
Edward Betts 2026-10-02 10:46:26 +01:00
parent 6b253f2d04
commit dcaf723336
24 changed files with 12198 additions and 12 deletions

View file

@ -189,8 +189,7 @@ tr.conf-hl > td {
style="left: {{ conf.left_pct }}%; width: {{ conf.width_pct }}%; top: {{ top_px }}px; background: {{ color }};"
title="{{ conf.label }}"
data-conf-key="{{ conf.key }}">
{% if conf.url %}<a href="{{ conf.url }}">{{ conf.name }}</a>
{% else %}<span>{{ conf.name }}</span>{% endif %}
<a href="{{ url_for('conference.page', event_date=conf.event_date, slug=conf.slug) }}">{{ conf.name }}</a>
</div>
{% endfor %}
@ -224,8 +223,7 @@ tr.conf-hl > td {
{% endif %}
</td>
<td class="conf-name" data-label="Conference">
{% if item.url %}<a href="{{ item.url }}">{{ item.name }}</a>
{% else %}{{ item.name }}{% endif %}
<a href="{{ url_for('conference.page', event_date=item.sort_date.isoformat(), slug=item.slug) }}">{{ item.name }}</a>
{% if item.going and not (item.accommodation_booked or item.travel_booked) %}
<span class="badge text-bg-primary ms-1">{{ badge }}</span>
{% endif %}