X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..94a4fcc7ab9e1713dc2defc8b35c875fc90f6fa5:/src/dictionary/templates/dictionary/note_list.html?%7B%25%20set_get%20%22page%22%20ltr=let%20%25%7D 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 "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 %} -+ {% 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 %} +