basic multilingual publications support
[wolnelektury.git] / apps / dictionary / templates / dictionary / note_list.html
index bc15e95..fc4ad66 100755 (executable)
@@ -1,14 +1,17 @@
 {% extends "base.html" %}
 {% load i18n pagination_tags %}
+{% load catalogue_tags %}
 
-{% block body %}
-    <h1>Przypisy</h1>
-    <form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form">
-        <p>{{ form.q }} <input type="submit" value="{% trans "Search" %}" /> <strong>{%trans "or" %}</strong> <a href="{% url main_page %}">{% trans "return to the main page" %}</a></p>
-    </form>
 
+{% block bodyid %}footnotes{% endblock %}
+
+{% block title %}{% trans "Footnotes on WolneLektury.pl" %}{% endblock %}
 
 
+{% block body %}
+    <h1>{% trans "Footnotes" %}</h1>
+    {% search_form %}
+
 
 <p>
 {% trans "By first letter" %}:
 </p>
 <hr/>
 
+<p>
+{% blocktrans count object_list.count as c %}{{c}} footnote found{% plural %}{{c}} footnotes found{% endblocktrans %}
+</p>
+
 {% if object_list %}
 
 {% autopaginate object_list 100 %}
@@ -37,7 +44,7 @@
     <div class='dictionary-note'>
     {{ obj.html|safe }}
     <div class='dictionary-note-source'>
-    (<a href='{% url book_text obj.book.slug %}#{{ obj.anchor }}'>{{ obj.book.pretty_title }}</a>)
+    (<a href='{% url book_text obj.book.fileid %}#{{ obj.anchor }}'>{{ obj.book.pretty_title }}</a>)
     </div>
     </div>
 {% endfor %}