merge player changes and detail page + search
[wolnelektury.git] / apps / dictionary / templates / dictionary / note_list.html
1 {% extends "base.html" %}
2 {% load i18n pagination_tags %}
3
4
5 {% block bodyid %}footnotes{% endblock %}
6
7 {% block titleextra %}{% trans "Footnotes" %}{% endblock %}
8
9
10 {% block body %}
11     <h1>{% trans "Footnotes" %}</h1>
12
13
14 <p>
15 {% trans "By first letter" %}:
16 {% if letter %}
17     <a href='{% url dictionary_notes %}'>{% trans "all" %}</a>
18 {% else %}
19     <strong>{% trans "all" %}</strong>
20 {% endif %}
21
22 {% for let in letters %}
23     |
24     {% if let == letter %}
25         <strong>{{ let|upper }}</strong>
26     {% else %}
27         <a href='{% url dictionary_notes let %}'>{{ let|upper }}</a>
28     {% endif %}
29 {% endfor %}
30 </p>
31 <hr/>
32
33 <p>
34 {% blocktrans count object_list.count as c %}{{c}} footnote found{% plural %}{{c}} footnotes found{% endblocktrans %}
35 </p>
36
37 {% if object_list %}
38
39 {% autopaginate object_list 100 %}
40 {% paginate %}
41 {% for obj in object_list %}
42     <div class='dictionary-note'>
43     {{ obj.html|safe }}
44     <div class='dictionary-note-source'>
45     (<a href='{% url book_text obj.book.fileid %}#{{ obj.anchor }}'>{{ obj.book.pretty_title }}</a>)
46     </div>
47     </div>
48 {% endfor %}
49 {% paginate %}
50
51 {% endif %}
52
53 {% endblock %}