conference-archive/confarchive/templates/country_list.html
2023-09-25 18:01:12 +01:00

40 lines
1,017 B
HTML

{% extends "base.html" %}
{% block title %}Countries{% endblock %}
{% block content %}
<div class="container">
<div class="row">
<h1>Conference archive</h1>
<p><a href="{{ url_for("index") }}">home</a></p>
<h2>Countries</h2>
{% for item in items %}
<div>
<h4>{{ item.name }}</h4>
<p><a href="https://www.wikidata.org/wiki/{{ item.wikidata_qid }}">Wikidata: {{ item.wikidata_qid }}</a></p>
<div>
<ul>
{% for city in item.cities %}
<li>
{{ city.name }}
(<a href="https://www.wikidata.org/wiki/{{ item.wikidata_qid }}">{{ item.wikidata_qid }}</a>)
&mdash;
{% if city.venues %}
{% for venue in city.venues %}
{{ venue.name }}
{% endfor %}
{% endif %}
<a href="{{ url_for("add_venue", city_id=city.id) }}">add venue in city</a>
</li>
{% endfor %}
</ul>
</div>
</div>
{% endfor %}
</div>
</div>
{% endblock %}