X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0e411544dd2afaafb14b0ee5a66698741915760c..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 6eac93a89..9428655b0 100755 --- a/apps/dictionary/templates/dictionary/note_list.html +++ b/apps/dictionary/templates/dictionary/note_list.html @@ -1,5 +1,6 @@ {% extends "base.html" %} {% load i18n pagination_tags %} +{% load set_get from set_get %} {% block bodyid %}footnotes{% endblock %} @@ -15,7 +16,7 @@

{% trans "By first letter" %}: {% if letter %} - {% trans "all" %} + {% trans "all" %} {% else %} {% trans "all" %} {% endif %} @@ -25,26 +26,85 @@ {% 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, 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 %} +{% if object_list.exists %} {% autopaginate object_list 100 %} {% paginate %} {% for obj in object_list %}
- {{ obj.html|safe }} -
- ({{ obj.book.pretty_title }}) -
+ {{ obj.html|safe }} + {% for note_source in obj.notesource_set.all %} +
+ {{ note_source.book.pretty_title }} + (źródło na Platformie Redakcyjnej) +
+ {% endfor %}
{% endfor %} {% paginate %}