completed TODOs 13, 14, 15, 16 - views of subsets of books. Added 2 new TODOs to enhance their output / make the views better
This commit is contained in:
@@ -31,16 +31,20 @@
|
||||
</td>
|
||||
{% if not InDBox %}
|
||||
<td>{{ GetPublisherById(book.publisher)}}</td>
|
||||
<td align="center">
|
||||
{% set cond = GetConditionById(book.condition) %}
|
||||
{% if cond == "Good" %}
|
||||
<i class="fas fa-book" style="color:black"></i>
|
||||
{% elif cond == "Average" %}
|
||||
<i class="fas fa-book" style="color:orange"></i>
|
||||
{% else %}
|
||||
<i class="fas fa-book" style="color:red"></i>
|
||||
{% endif %}
|
||||
</td>
|
||||
{% set cond = GetConditionById(book.condition) %}
|
||||
{% if cond == "N/A" %}
|
||||
<td>N/A</td>
|
||||
{% else %}
|
||||
<td align="center">
|
||||
{% if cond == "Good" %}
|
||||
<i class="fas fa-book" style="color:black"></i>
|
||||
{% elif cond == "Average" %}
|
||||
<i class="fas fa-book" style="color:orange"></i>
|
||||
{% elif cond == "Needs Replacing" %}
|
||||
<i class="fas fa-book" style="color:red"></i>
|
||||
{% endif %}
|
||||
</td>
|
||||
{% endif %}
|
||||
<td>{{ GetOwnedById(book.owned)}}</td>
|
||||
{% endif %}
|
||||
<td>{{ GetCovertypeById(book.covertype) }}</td>
|
||||
|
||||
Reference in New Issue
Block a user