various improvements
This commit is contained in:
parent
6922b1bf11
commit
d1a46dd422
11 changed files with 504 additions and 74 deletions
37
templates/reports.html
Normal file
37
templates/reports.html
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{% 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>
|
||||
{{ event.conference.title }}<br>
|
||||
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 %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue