Merge remote branch 'klitynski/master'
[wolnelektury.git] / wolnelektury / templates / catalogue / book_detail.html
index b9faea6..cb5dee0 100644 (file)
     </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 %}&#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>
         {% endif %}
         {% if extra_info.license %}
         <p>{% trans "Work is licensed under " %} <a href="{{ extra_info.license }}">{{ extra_info.license_description }}</a>.</p>
         {% endif %}