Add conference series pages
This commit is contained in:
parent
098c7e4447
commit
57b2db205d
9 changed files with 367 additions and 3 deletions
44
templates/conference_series_list.html
Normal file
44
templates/conference_series_list.html
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Conference Series - Edward Betts{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container-fluid mt-2">
|
||||
<h1>Conference Series</h1>
|
||||
|
||||
<table class="table table-sm table-hover align-middle">
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th>Series</th>
|
||||
<th>Topic</th>
|
||||
<th>Usual location</th>
|
||||
<th>Conferences</th>
|
||||
<th>Next</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for item in series_list %}
|
||||
<tr>
|
||||
<td>
|
||||
<a href="{{ url_for('conference_series_page', series_id=item.id) }}">{{ item.name }}</a>
|
||||
{% if item.url %}
|
||||
<a class="text-muted ms-1 text-decoration-none" href="{{ item.url }}">↗</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="text-muted small">{{ item.topic or "" }}</td>
|
||||
<td>
|
||||
{% set country = get_country(item.country) if item.country else None %}
|
||||
{% if country %}{{ country.flag }} {% endif %}{{ item.usual_location or "" }}
|
||||
</td>
|
||||
<td>{{ item.count }}</td>
|
||||
<td class="text-muted small">
|
||||
{% if item.next_conf %}
|
||||
{{ item.next_conf.display_date }} · {{ item.next_conf.name }}
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue