Show conference CFP deadlines

Closes: #105
This commit is contained in:
Edward Betts 2024-01-16 20:17:05 +00:00
parent 6748f8338c
commit ec99289cfa
3 changed files with 4 additions and 1 deletions

View file

@ -33,6 +33,8 @@ class Conference:
currency: str | None = None
latitude: float | None = None
longitude: float | None = None
cfp_end: date | None = None
cfp_url: str | None = None
@property
def display_name(self) -> str:

View file

@ -3,7 +3,7 @@
{% from "macros.html" import trip_link, conference_row with context %}
{% block style %}
{% set column_count = 7 %}
{% set column_count = 8 %}
<style>
.grid-container {
display: grid;

View file

@ -31,6 +31,7 @@
</div>
<div class="grid-item">{{ item.topic }}</div>
<div class="grid-item">{{ item.location }}</div>
<div class="grid-item text-end">{{ display_date(item.cfp_end) if item.cfp_end else "" }}</div>
<div class="grid-item">
{% if country %}
{{ country.flag }} {{ country.name }}