Make name a link to conference web site

This commit is contained in:
Edward Betts 2024-01-04 07:40:39 +00:00
parent 824285a4cf
commit b1139b79d2

View file

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block style %}
{% set column_count = 7 %}
{% set column_count = 6 %}
<style>
.grid-container {
display: grid;
@ -24,7 +24,12 @@
{% set country = get_country(item.country) if item.country else None %}
<div class="grid-item text-end">{{ item.start.strftime("%a, %d %b %Y") }}</div>
<div class="grid-item text-end">{{ item.end.strftime("%a, %d %b") }}</div>
<div class="grid-item">{{ item.name }}
<div class="grid-item">
{% if item.url %}
<a href="{{ item.url }}">{{ item.name }}</a>
{% else %}
{{ item.name }}
{% endif %}
{% if item.going and not (item.accommodation_booked or item.travel_booked) %}
<span class="badge text-bg-primary">
{{ badge }}
@ -50,7 +55,6 @@
</span>
{% endif %}
</div>
<div class="grid-item"><a href="{{ item.url }}">{{ item.url }}</a></div>
{% endmacro %}
{% macro section(heading, item_list, badge) %}