Display fail reasons and reorder columns.
This commit is contained in:
parent
2006b2fbce
commit
8c9b499cda
|
@ -29,6 +29,7 @@
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
|
Book
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
Title
|
Title
|
||||||
|
@ -37,13 +38,16 @@
|
||||||
Author
|
Author
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
Book
|
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
{% for item in items %}
|
{% for item in items %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
{% if item.book %}✓{% endif %}
|
{% if item.book %}
|
||||||
|
<a href="{{ item.book.absolute_id }}">
|
||||||
|
{% include 'snippets/book_cover.html' with book=item.book size='small' %}
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{ item.data|dict_key:'Title' }}
|
{{ item.data|dict_key:'Title' }}
|
||||||
|
@ -52,10 +56,9 @@
|
||||||
{{ item.data|dict_key:'Author' }}
|
{{ item.data|dict_key:'Author' }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{% if item.book %}
|
{% if item.book %}✓
|
||||||
<a href="{{ item.book.absolute_id }}">
|
{% elif item.fail_reason %}
|
||||||
{% include 'snippets/book_cover.html' with book=item.book size='small' %}
|
{{ item.fail_reason }}
|
||||||
</a>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue