Merge remote branch 'klitynski/master'
[wolnelektury.git] / wolnelektury / templates / catalogue / book_detail.html
index 4a8a931..cb5dee0 100644 (file)
     </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 %}&#187;{% 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>
+        <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 %}