fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added new partners' logos to footer.
[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
769a5cb
..
06e437d
100644
(file)
--- a/
wolnelektury/templates/catalogue/tagged_object_list.html
+++ b/
wolnelektury/templates/catalogue/tagged_object_list.html
@@
-22,19
+22,30
@@
<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 %}
<div id="toggle-description"><p>Zwiń opis ▲</p></div>
{% endif %}
- {% endwith %}
{% if shelf_is_set %}
{% if shelf_is_set %}
- <a id="download-shelf">
+ <a id="download-shelf"
href="{% url download_shelf last_tag.slug %}"
>
Pobierz wszystkie książki z tej półki
</a>
{% endif %}
Pobierz wszystkie książki z tej półki
</a>
{% endif %}
+ {% if last_tag.gazeta_link %}
+ <p><a href="{{ last_tag.gazeta_link }}">{{ last_tag }} w Lektury.Gazeta.pl</a></p>
+ {% endif %}
+ {% if last_tag.wiki_link %}
+ <p><a href="{{ last_tag.wiki_link }}">{{ last_tag }} w Wikipedii</a></p>
+ {% endif %}
<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">