fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed JSONField implementation. Now to get and set decoded value you must use get_...
[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
7f6ce55
..
ab34fe4
100644
(file)
--- a/
wolnelektury/templates/catalogue/user_shelves.html
+++ b/
wolnelektury/templates/catalogue/user_shelves.html
@@
-2,7
+2,7
@@
{% 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 %}