Show count & to watch count in collection table

Calculated using SQL and not Stats class
master
Felix Stupp 2 years ago
parent 18a2294cc8
commit ac652762fd
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -13,6 +13,8 @@
<table class="collection_table_list">
<tr>
<th>Date</th>
<th>Count</th>
<th>To Watch</th>
<th>Thumbnail</th>
<th>Title</th>
<th>Tags</th>
@ -26,6 +28,8 @@
unknown
{% endif %}
</td>
<td>{{ collection.count }}</td>
<td>{{ collection.to_watch_count }}</td>
<td>
{% set e = (collection.next_episode or collection.first_episode).element %}
<img class="thumbnail_img" src="{{ e.info_link }}/thumbnail" alt="Thumbnail for {{ e.title }}" loading="lazy" />

Loading…
Cancel
Save