conference-archive/templates/reports.html

38 lines
1.1 KiB
HTML
Raw Normal View History

2023-09-22 21:00:56 +01:00
{% extends "base.html" %}
{% block title %}Conference archive{% endblock %}
{% block content %}
<h1>Conference archive</h1>
<h2>Reports</h2>
<div>Talks: {{ "{:,d}".format(event_count) }}</div>
<div>Talks with no event date: {{ "{:,d}".format(missing_event_date_count) }}</div>
<div>Speakers: {{ "{:,d}".format(speaker_count) }}</div>
<div>Speakers with no bio: {{ "{:,d}".format(no_bio_count) }}</div>
<div>Speakers with one bio: {{ "{:,d}".format(one_bio_count) }}</div>
<div>Speakers with more than one bio: {{ "{:,d}".format(multiple_bio_count) }}</div>
<h2>Talks with missing dates</h2>
{% for event in missing_event_date %}
<div>{{ event.title }}<br>
&nbsp;{{ event.conference.title }}<br>
&nbsp;GUID: {{ event.guid or "missing" }}
</div>
{% endfor %}
<h2>Speakers with a shorter recent biography</h2>
<p>{{ shorter_recent_bio | count }} found</p>
{% for person, recent_bio_length, longest in shorter_recent_bio %}
<div>
<a href="{{ url_for("person", person_id=person.id) }}">{{ person.name }}</a>
recent bio: {{ recent_bio_length }} vs {{ longest }}
</div>
{% endfor %}
{% endblock %}