Code layout change.
[wolnelektury.git] / 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
deleted file mode 100755 (executable)
index 9428655..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-{% extends "base.html" %}
-{% load i18n pagination_tags %}
-{% load set_get from set_get %}
-
-
-{% block bodyid %}footnotes{% endblock %}
-
-{% block titleextra %}{% trans "Footnotes" %}{% endblock %}
-
-
-{% block body %}
-    <h1>{% trans "Footnotes" %}</h1>
-
-<div class="normal-text">
-
-<p>
-{% trans "By first letter" %}:
-{% if letter %}
-    <a href='?{% set_get "page" "ltr" %}'>{% trans "all" %}</a>
-{% else %}
-    <strong>{% trans "all" %}</strong>
-{% endif %}
-
-{% for let in letters %}
-    |
-    {% if let == letter %}
-        <strong>{{ let|upper }}</strong>
-    {% else %}
-        <a href='?{% set_get "page" ltr=let %}'>{{ let|upper }}</a>
-    {% endif %}
-{% endfor %}
-</p>
-
-<p>
-{% trans "By type" %}:
-{% if fn_type %}
-    <a href='?{% set_get "page" "type" %}'>{% trans "all" %}</a>
-{% else %}
-    <strong>{% trans "all" %}</strong>
-{% endif %}
-
-{% for fnt, fnt_name in fn_types %}
-    |
-    {% if fnt == fn_type %}
-        <strong>{{ fnt_name }}</strong>
-    {% else %}
-        <a href='?{% set_get "page" type=fnt %}'>{{ fnt_name }}</a>
-    {% endif %}
-{% endfor %}
-</p>
-
-
-<p>
-{% trans "By qualifier" %}:
-{% if qualifier %}
-    <a href='?{% set_get "page" "qual" %}'>{% trans "all" %}</a>
-{% else %}
-    <strong>{% trans "all" %}</strong>
-{% endif %}
-
-{% for qual in qualifiers %}
-    |
-    {% if qual == qualifier %}
-        <strong>{{ qual }}</strong>
-    {% else %}
-        <a href='?{% set_get "page" qual=qual.qualifier %}'>{{ qual }}</a>
-    {% endif %}
-{% endfor %}
-</p>
-
-<p>
-{% trans "By language" %}:
-{% if language %}
-    <a href='?{% set_get "page" "lang" %}'>{% trans "all" %}</a>
-{% else %}
-    <strong>{% trans "all" %}</strong>
-{% endif %}
-
-{% for lang, lang_name in languages %}
-    |
-    {% if lang == language %}
-        <strong>{{ lang_name }}</strong>
-    {% else %}
-        <a href='?{% set_get "page" lang=lang %}'>{{ lang_name }}</a>
-    {% endif %}
-{% endfor %}
-</p>
-
-<hr/>
-
-<p>
-{% blocktrans count object_list.count as c %}{{c}} footnote found{% plural %}{{c}} footnotes found{% endblocktrans %}
-</p>
-
-{% if object_list.exists %}
-
-{% autopaginate object_list 100 %}
-{% paginate %}
-{% for obj in object_list %}
-    <div class='dictionary-note'>
-        {{ obj.html|safe }}
-        {% for note_source in obj.notesource_set.all %}
-            <div class='dictionary-note-source'>
-                <a href='{% url "book_text" note_source.book.slug %}#{{ note_source.anchor }}'>{{ note_source.book.pretty_title }}</a>
-                (<a href='{{ note_source.book.extra_info.about }}'>źródło na Platformie Redakcyjnej</a>)
-            </div>
-        {% endfor %}
-    </div>
-{% endfor %}
-{% paginate %}
-
-{% endif %}
-
-</div>
-
-{% endblock %}