fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to Django 1.5.
[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
index
6ae3664
..
097457e
100755
(executable)
--- a/
apps/dictionary/templates/dictionary/note_list.html
+++ b/
apps/dictionary/templates/dictionary/note_list.html
@@
-1,16
+1,21
@@
{% extends "base.html" %}
{% load i18n pagination_tags %}
{% extends "base.html" %}
{% load i18n pagination_tags %}
-{% load catalogue_tags %}
+
+
+{% block bodyid %}footnotes{% endblock %}
+
+{% block titleextra %}{% trans "Footnotes" %}{% endblock %}
+
{% block body %}
{% block body %}
- <h1>Przypisy</h1>
- {% search_form %}
+ <h1>{% trans "Footnotes" %}</h1>
+<div class="normal-text">
<p>
{% trans "By first letter" %}:
{% if letter %}
<p>
{% trans "By first letter" %}:
{% if letter %}
- <a href='{% url
dictionary_notes
%}'>{% trans "all" %}</a>
+ <a href='{% url
"dictionary_notes"
%}'>{% trans "all" %}</a>
{% else %}
<strong>{% trans "all" %}</strong>
{% endif %}
{% else %}
<strong>{% trans "all" %}</strong>
{% endif %}
@@
-20,12
+25,16
@@
{% if let == letter %}
<strong>{{ let|upper }}</strong>
{% else %}
{% if let == letter %}
<strong>{{ let|upper }}</strong>
{% else %}
- <a href='{% url
dictionary_notes
let %}'>{{ let|upper }}</a>
+ <a href='{% url
"dictionary_notes"
let %}'>{{ let|upper }}</a>
{% endif %}
{% endfor %}
</p>
<hr/>
{% endif %}
{% endfor %}
</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 %}
{% if object_list %}
{% autopaginate object_list 100 %}
@@
-34,7
+43,7
@@
<div class='dictionary-note'>
{{ obj.html|safe }}
<div class='dictionary-note-source'>
<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.slug %}#{{ obj.anchor }}'>{{ obj.book.pretty_title }}</a>)
</div>
</div>
{% endfor %}
</div>
</div>
{% endfor %}
@@
-42,4
+51,6
@@
{% endif %}
{% endif %}
+</div>
+
{% endblock %}
{% endblock %}