tags = list(book.tags.filter(~Q(category='set')))
categories = split_tags(tags)
book_children = book.children.all().order_by('parent_number')
+
+ _book = book
+ parents = []
+ while _book.parent:
+ parents.append(_book.parent)
+ _book = _book.parent
+ parents = reversed(parents)
theme_counter = book.theme_counter
book_themes = models.Tag.objects.filter(pk__in=theme_counter.keys())
</form>
<div id="books-list">
+ {% if parents %}
+ <div id='breadcrumbs'>
+ {% for parent in parents %}
+ <a href="{{ parent.get_absolute_url }}">{{ parent }}</a>
+ {% if not forloop.last %}»{% endif %}
+ {% endfor %}
+ </div>
+ {% endif %}
+
{% if extra_info.license %}
<p>{% trans "Work is licensed under " %} <a href="{{ extra_info.license }}">{{ extra_info.license_description }}</a>.</p>
{% endif %}