1 {% extends "base/base.html" %}
2 {% load i18n pagination_tags %}
3 {% load set_get from set_get %}
6 {% block bodyid %}footnotes{% endblock %}
8 {% block titleextra %}{% trans "Footnotes" %}{% endblock %}
12 <h1>{% trans "Footnotes" %}</h1>
14 <div class="normal-text">
16 {% trans "By first letter" %}:
18 <a href='?{% set_get "page" "ltr" %}'>{% trans "all" %}</a>
20 <strong>{% trans "all" %}</strong>
23 {% for let in letters %}
25 {% if let == letter %}
26 <strong>{{ let|upper }}</strong>
28 <a href='?{% set_get "page" ltr=let %}'>{{ let|upper }}</a>
34 {% trans "By type" %}:
36 <a href='?{% set_get "page" "type" %}'>{% trans "all" %}</a>
38 <strong>{% trans "all" %}</strong>
41 {% for fnt, fnt_name in fn_types %}
43 {% if fnt == fn_type %}
44 <strong>{{ fnt_name }}</strong>
46 <a href='?{% set_get "page" type=fnt %}'>{{ fnt_name }}</a>
53 {% trans "By qualifier" %}:
55 <a href='?{% set_get "page" "qual" %}'>{% trans "all" %}</a>
57 <strong>{% trans "all" %}</strong>
60 {% for qual in qualifiers %}
62 {% if qual == qualifier %}
63 <strong>{{ qual }}</strong>
65 <a href='?{% set_get "page" qual=qual.qualifier %}'>{{ qual }}</a>
71 {% trans "By language" %}:
73 <a href='?{% set_get "page" "lang" %}'>{% trans "all" %}</a>
75 <strong>{% trans "all" %}</strong>
78 {% for lang, lang_name in languages %}
80 {% if lang == language %}
81 <strong>{{ lang_name }}</strong>
83 <a href='?{% set_get "page" lang=lang %}'>{{ lang_name }}</a>
91 {% blocktrans count object_list.count as c %}{{c}} footnote found{% plural %}{{c}} footnotes found{% endblocktrans %}
94 {% if object_list.exists %}
95 {% autopaginate object_list 100 %}
97 {% for obj in object_list %}
98 <div class='dictionary-note'>
100 {% for note_source in obj.notesource_set.all %}
101 <div class='dictionary-note-source'>
102 <a href='{% url "book_text" note_source.book.slug %}#{{ note_source.anchor }}'>{{ note_source.book.pretty_title }}</a>
103 (<a href='{{ note_source.book.get_extra_info_json.about }}'>źródło na Platformie Redakcyjnej</a>)