fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Housekeeping: removed celery dependency and some unused code.
[redakcja.git]
/
src
/
catalogue
/
templates
/
catalogue
/
book_list
/
book_list.html
diff --git
a/src/catalogue/templates/catalogue/book_list/book_list.html
b/src/catalogue/templates/catalogue/book_list/book_list.html
index
e238827
..
25a2e00
100755
(executable)
--- a/
src/catalogue/templates/catalogue/book_list/book_list.html
+++ b/
src/catalogue/templates/catalogue/book_list/book_list.html
@@
-19,10
+19,7
@@
<thead><tr>
<th></th>
<th></th>
<thead><tr>
<th></th>
<th></th>
- <th>
- <input class='check-filter' type='checkbox' name='all' title='{% trans "Show hidden books" %}'
- {% if request.GET.all %}checked='checked'{% endif %} />
- </th>
+ <th></th>
<th class='book-search-column'>
<form>
<input title='{% trans "Search in book titles" %}' name="title"
<th class='book-search-column'>
<form>
<input title='{% trans "Search in book titles" %}' name="title"
@@
-77,11
+74,11
@@
{% autopaginate books 100 %}
<tbody>
{% for item in books %}
{% autopaginate books 100 %}
<tbody>
{% for item in books %}
- {% with
item.book as book
%}
-
{{ book.short_html|safe }
}
+ {% with
book=item.book chunk=item.chunks.0
%}
+
{% include 'catalogue/book_list/book.html' %
}
{% if not book.single %}
{% for chunk in item.chunks %}
{% if not book.single %}
{% for chunk in item.chunks %}
- {
{ chunk.short_html|safe }
}
+ {
% include 'catalogue/book_list/chunk.html' %
}
{% endfor %}
{% endif %}
{% endwith %}
{% endfor %}
{% endif %}
{% endwith %}