DE translation fix + fixture for infopages
[wolnelektury.git] / wolnelektury / templates / catalogue / book_detail.html
index cb5dee0..c03614c 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 %}
+        <div id='breadcrumbs'>
+            {% if categories.author %}
+                {% for tag in categories.author %}
+                    <a href="{{ tag.get_absolute_url }}">{{ tag }}</a>{% if not forloop.last %}, {% endif %}
                 {% endfor %}
-            </div>
-        {% endif %}
+                &#187; 
+            {% endif %}
+            {% for parent in parents %}
+                <a href="{{ parent.get_absolute_url }}">{{ parent }}</a> &#187; 
+            {% endfor %}
+        </div>
 
         {% if extra_info.license %}
         <p>{% trans "Work is licensed under " %} <a href="{{ extra_info.license }}">{{ extra_info.license_description }}</a>.</p>