fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sorted list of voluntary alphabetically.
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
tagged_object_list.html
diff --git
a/wolnelektury/templates/catalogue/tagged_object_list.html
b/wolnelektury/templates/catalogue/tagged_object_list.html
index
7339114
..
5bcab78
100644
(file)
--- a/
wolnelektury/templates/catalogue/tagged_object_list.html
+++ b/
wolnelektury/templates/catalogue/tagged_object_list.html
@@
-22,6
+22,7
@@
<div id="description">
{{ last_tag.description|safe }}
</div>
<div id="description">
{{ last_tag.description|safe }}
</div>
+ <div class="clearboth"></div>
<div id="toggle-description"><p>Zwiń opis ▲</p></div>
{% endif %}
{% if shelf_is_set %}
<div id="toggle-description"><p>Zwiń opis ▲</p></div>
{% endif %}
{% if shelf_is_set %}
@@
-29,12
+30,16
@@
Pobierz wszystkie książki z tej półki
</a>
{% endif %}
Pobierz wszystkie książki z tej półki
</a>
{% endif %}
- {% endwith %}
<ol>
{% for book in object_list %}
<ol>
{% for book in object_list %}
- <li>{{ book.short_html }}</li>
+ <li>
+ {% if user_is_owner %}
+ <a href="{% url remove_from_shelf last_tag.slug book.slug %}" class="remove-from-shelf">Usuń</a>
+ {% endif %}
+ {{ book.short_html }}</li>
{% endfor %}
</ol>
{% endfor %}
</ol>
+ {% endwith %}
{% paginate %}
</div>
<div id="tags-list">
{% paginate %}
</div>
<div id="tags-list">