fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new book.short_html, unfinished
[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
fec9105
..
7cae9eb
100644
(file)
--- a/
wolnelektury/templates/catalogue/tagged_object_list.html
+++ b/
wolnelektury/templates/catalogue/tagged_object_list.html
@@
-2,13
+2,12
@@
{% load i18n %}
{% load catalogue_tags pagination_tags switch_tag %}
{% load i18n %}
{% load catalogue_tags pagination_tags switch_tag %}
-{% block title
%}{% title_from_tags tags %} w WolneLektury.pl
{% endblock %}
+{% block title
extra %}{% title_from_tags tags %}
{% endblock %}
{% block bodyid %}tagged-object-list{% endblock %}
{% block body %}
<h1>{% title_from_tags tags %}</h1>
{% block bodyid %}tagged-object-list{% endblock %}
{% block body %}
<h1>{% title_from_tags tags %}</h1>
- {% breadcrumbs tags %}
{% if only_shelf and not object_list %}
<div id="books-list">
{% if only_shelf and not object_list %}
<div id="books-list">
@@
-89,15
+88,17
@@
{% endif %}
{% if object_list %}
{% endif %}
{% if object_list %}
+ {% spaceless %}
<ol>
{% for book in object_list %}
<li>
{% if user_is_owner %}
<ol>
{% for book in object_list %}
<li>
{% if user_is_owner %}
- <a href="{% url remove_from_shelf last_tag.slug book.
slug
%}" class="remove-from-shelf">{% trans "Delete" %}</a>
+ <a href="{% url remove_from_shelf last_tag.slug book.
urlid
%}" class="remove-from-shelf">{% trans "Delete" %}</a>
{% endif %}
{{ book.short_html }}</li>
{% endfor %}
</ol>
{% endif %}
{{ book.short_html }}</li>
{% endfor %}
</ol>
+ {% endspaceless %}
{% paginate %}
{% else %}
{% trans "Sorry! Search cirteria did not match any resources." %}
{% paginate %}
{% else %}
{% trans "Sorry! Search cirteria did not match any resources." %}