fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Started i18n.
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
user_shelves.html
diff --git
a/wolnelektury/templates/catalogue/user_shelves.html
b/wolnelektury/templates/catalogue/user_shelves.html
index
88e7315
..
cd5b861
100644
(file)
--- a/
wolnelektury/templates/catalogue/user_shelves.html
+++ b/
wolnelektury/templates/catalogue/user_shelves.html
@@
-1,8
+1,9
@@
-<h2>Moje półki</h2>
+{% load i18n %}
+<h2>Twoje półki z lekturami</h2>
{% if shelves %}
<ul class="shelf-list">
{% for shelf in shelves %}
{% if shelves %}
<ul class="shelf-list">
{% for shelf in shelves %}
- <li><a href="{% url delete_shelf shelf.slug %}" class="delete-shelf">usuń</a> <a href="{{ shelf.get_absolute_url }}" class="visit-shelf">{{ shelf.name }}</a></li>
+ <li><a href="{% url delete_shelf shelf.slug %}" class="delete-shelf">usuń</a> <a href="{{ shelf.get_absolute_url }}" class="visit-shelf">{{ shelf.name }}
({{ shelf.book_count }})
</a></li>
{% endfor %}
</ul>
{% else %}
{% endfor %}
</ul>
{% else %}
@@
-11,6
+12,6
@@
<hr />
<form action="{% url catalogue.views.new_set %}" method="post" accept-charset="utf-8" class="cuteform">
<ol>
<hr />
<form action="{% url catalogue.views.new_set %}" method="post" accept-charset="utf-8" class="cuteform">
<ol>
- <li>{{ new_set_form.name }} <input type="submit" value="Utwórz
nową
półkę"/></li>
+ <li>{{ new_set_form.name }} <input type="submit" value="Utwórz półkę"/></li>
</ol>
</form>
\ No newline at end of file
</ol>
</form>
\ No newline at end of file