fabfile fix
[wolnelektury.git] / apps / stats / templates / stats / main.html
1 {% extends "base.html" %}
2 {% load i18n %}
3 {% load stats catalogue_tags %}
4
5 {% block title %}Statystyka w  WolneLektury.pl{% endblock %}
6
7 {% block bodyid %}tagged-object-list{% endblock %}
8
9 {% block body %}
10     <h1>Statystyka</h1>
11     {% search_form %}
12
13     <table>
14         <tr><th>Utwory</th></tr>
15         <tr><td>Wszystkie utwory:</td><td>{% count_books_all %}</td></tr>
16         <tr><td>Utwory z własną treścią:</td><td>{% count_books_nonempty %}</td></tr>
17         <tr><td>Utwory bez własnej treści:</td><td>{% count_books_empty %}</td></tr>
18         <tr><td>Niezależne książki:</td><td>{% count_books_root %}</td></tr>
19
20         <tr><th>Media</th><th>Liczba</th><th>Rozmiar</th><th>Do wymiany</th></tr>
21         {% for mt in media_types %}
22             <tr><td>{{ mt.type }}:</td>
23                 <td>{{ mt.count }}</td>
24                 <td>{{ mt.size|filesizeformat }}</td>
25                 <td>{{ mt.deprecated }}</td>
26             </tr>
27         {% endfor %}
28     </table>
29
30 {% endblock %}