X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/60b06883b6d5a336ef47c01103ec1ce25aafae69..f3dbec099e62eec49b0a9e1d293e7f0dc12361c1:/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 e0b10f3c2..330b2a7f8 100755 --- a/apps/dictionary/templates/dictionary/note_list.html +++ b/apps/dictionary/templates/dictionary/note_list.html @@ -1,22 +1,22 @@ {% extends "base.html" %} {% load i18n pagination_tags %} -{% load catalogue_tags %} +{% load set_get from set_get %} {% block bodyid %}footnotes{% endblock %} -{% block title %}{% trans "Footnotes on WolneLektury.pl" %}{% endblock %} +{% block titleextra %}{% trans "Footnotes" %}{% endblock %} {% block body %}

{% trans "Footnotes" %}

- {% search_form %} +

{% trans "By first letter" %}: {% if letter %} - {% trans "all" %} + {% trans "all" %} {% else %} {% trans "all" %} {% endif %} @@ -26,30 +26,91 @@ {% if let == letter %} {{ let|upper }} {% else %} - {{ let|upper }} + {{ let|upper }} {% endif %} {% endfor %}

+ +

+{% trans "By type" %}: +{% if fn_type %} + {% trans "all" %} +{% else %} + {% trans "all" %} +{% endif %} + +{% for fnt in fn_types %} + | + {% if fnt == fn_type %} + {{ fnt }} + {% else %} + {{ fnt }} + {% 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 in languages %} + | + {% if lang == language %} + {{ lang }} + {% else %} + {{ lang }} + {% endif %} +{% endfor %} +

+

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

-{% if object_list %} +{% 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 %}