X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..94a4fcc7ab9e1713dc2defc8b35c875fc90f6fa5:/src/dictionary/templates/dictionary/note_list.html diff --git a/src/dictionary/templates/dictionary/note_list.html b/src/dictionary/templates/dictionary/note_list.html old mode 100755 new mode 100644 index 9428655b0..84c111e20 --- a/src/dictionary/templates/dictionary/note_list.html +++ b/src/dictionary/templates/dictionary/note_list.html @@ -1,7 +1,12 @@ -{% extends "base.html" %} +{% extends "2022/base_simple.html" %} {% load i18n pagination_tags %} {% load set_get from set_get %} +{% block settings %} + {% load title %} + {% trans "Footnotes" as title %} + {% title title %} +{% endblock %} {% block bodyid %}footnotes{% endblock %} @@ -9,108 +14,103 @@ {% 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 }} - {% for note_source in obj.notesource_set.all %} +

{% 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 }} + {% for note_source in obj.notesource_set.all %} - {% endfor %} -
-{% endfor %} -{% paginate %} - -{% endif %} - -
- + {% endfor %} +
+ {% endfor %} + {% paginate %} + {% endif %} +
{% endblock %}