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