fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote branch 'klitynski/master'
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
book_detail.html
diff --git
a/wolnelektury/templates/catalogue/book_detail.html
b/wolnelektury/templates/catalogue/book_detail.html
index
27f2e72
..
cb5dee0
100644
(file)
--- a/
wolnelektury/templates/catalogue/book_detail.html
+++ b/
wolnelektury/templates/catalogue/book_detail.html
@@
-13,8
+13,17
@@
</form>
<div id="books-list">
</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 %}
{% if extra_info.license %}
- <p>{% trans "Work is licensed under " %}<a href="{{ extra_info.license }}">{{ extra_info.license_description }}</a>.</p>
+ <p>{% trans "Work is licensed under " %}
<a href="{{ extra_info.license }}">{{ extra_info.license_description }}</a>.</p>
{% endif %}
<p>{% trans "Based on" %}: {{ extra_info.source_name }}</p>
{% if book.has_description %}
{% endif %}
<p>{% trans "Based on" %}: {{ extra_info.source_name }}</p>
{% if book.has_description %}
@@
-83,27
+92,28
@@
<h2>{% trans "Details" %}</h2>
<ul>
<li>
<h2>{% trans "Details" %}</h2>
<ul>
<li>
+
{% trans "Author" %}:
{% for tag in categories.author %}
{% trans "Author" %}:
{% for tag in categories.author %}
- <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
+ <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
{% if not forloop.last %}, {% endif %}
{% endfor %}
</li>
<li>
{% trans "Epoch" %}:
{% for tag in categories.epoch %}
{% endfor %}
</li>
<li>
{% trans "Epoch" %}:
{% for tag in categories.epoch %}
- <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
+ <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
{% if not forloop.last %}, {% endif %}
{% endfor %}
</li>
<li>
{% trans "Kind" %}:
{% for tag in categories.kind %}
{% endfor %}
</li>
<li>
{% trans "Kind" %}:
{% for tag in categories.kind %}
- <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
+ <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
{% if not forloop.last %}, {% endif %}
{% endfor %}
</li>
<li>
{% trans "Genre" %}:
{% for tag in categories.genre %}
{% endfor %}
</li>
<li>
{% trans "Genre" %}:
{% for tag in categories.genre %}
- <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
+ <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>
{% if not forloop.last %}, {% endif %}
{% endfor %}
</li>
</ul>
{% endfor %}
</li>
</ul>