selected cites in admin
[wolnelektury.git] / wolnelektury / templates / catalogue / book_mini_box.html
index 58abaa6..b7d78d7 100755 (executable)
                 {% endthumbnail %}
             " alt="Cover" />
         {% endif %}
-        {% for author in authors %}
-            <div class="desc">
-                <span class="mono author">{{ author }}</span>
-                <span class="title">{{ book.title }}</span>
-            </div>
-        {% endfor %}
+        <div class="desc">
+            <span class="mono author">
+                {% for name, url in related.tags.author %}
+                    {{ name }}{% if not forloop.last %}, {% endif %}
+                {% endfor %}
+            </span>
+            <span class="title">{{ book.title }}</span>
+        </div>
     </a>
 </div>