added in publisher relationship (via book_publisher_link), removed debug, also removed ma.Nested, not needed?

This commit is contained in:
2020-11-04 23:48:09 +11:00
parent 2a7cbe5845
commit 21c792203c
2 changed files with 22 additions and 7 deletions

View File

@@ -23,7 +23,7 @@
<tr>
<td data-sort="{{book.id}}"><a href="/book/{{book.id}}">{{book.title}}</a></td>
<td>{{ book.author[0]['surname'] }}, {{book.author[0]['firstnames']}}</td>
<td>{{ book.publisher}}</td>
<td>{{ book.publisher[0]['name']}}</td>
<td align="center">
{% if book.condition == "Good" %}
<i class="fas fa-book" style="color:black"></i>