X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5e983f642ea537225bf3a20e97fca281c8fdc915..3b4b52aebe1b09fe03b3314158f31c4ef83db425:/apps/dictionary/templates/dictionary/note_list.html diff --git a/apps/dictionary/templates/dictionary/note_list.html b/apps/dictionary/templates/dictionary/note_list.html index 7f3b43690..9428655b0 100755 --- a/apps/dictionary/templates/dictionary/note_list.html +++ b/apps/dictionary/templates/dictionary/note_list.html @@ -1,19 +1,116 @@ {% extends "base.html" %} -{% load pagination_tags %} +{% load i18n pagination_tags %} +{% load set_get from set_get %} + + +{% block bodyid %}footnotes{% endblock %} + +{% block titleextra %}{% trans "Footnotes" %}{% endblock %} + {% block body %} +

{% trans "Footnotes" %}

+ +
+ +

+{% trans "By first letter" %}: +{% if letter %} + {% trans "all" %} +{% else %} + {% trans "all" %} +{% endif %} + +{% for let in letters %} + | + {% if let == letter %} + {{ let|upper }} + {% else %} + {{ let|upper }} + {% endif %} +{% endfor %} +

+ +

+{% trans "By type" %}: +{% if fn_type %} + {% trans "all" %} +{% else %} + {% trans "all" %} +{% endif %} + +{% for fnt, fnt_name in fn_types %} + | + {% if fnt == fn_type %} + {{ fnt_name }} + {% else %} + {{ fnt_name }} + {% endif %} +{% endfor %} +

+ +

+{% trans "By qualifier" %}: +{% if qualifier %} + {% trans "all" %} +{% else %} + {% trans "all" %} +{% endif %} + +{% for qual in qualifiers %} + | + {% if qual == qualifier %} + {{ qual }} + {% else %} + {{ qual }} + {% endif %} +{% endfor %} +

+ +

+{% trans "By language" %}: +{% if language %} + {% trans "all" %} +{% else %} + {% trans "all" %} +{% endif %} + +{% for lang, lang_name in languages %} + | + {% if lang == language %} + {{ lang_name }} + {% else %} + {{ lang_name }} + {% endif %} +{% endfor %} +

+ +
+ +

+{% blocktrans count object_list.count as c %}{{c}} footnote found{% plural %}{{c}} footnotes found{% endblocktrans %} +

+ +{% if object_list.exists %} {% autopaginate object_list 100 %} {% paginate %} {% for obj in object_list %}
- {{ obj.html|safe }} - + {{ obj.html|safe }} + {% for note_source in obj.notesource_set.all %} + + {% endfor %}
{% endfor %} {% paginate %} +{% endif %} + +
+ {% endblock %}