Add consists view in rolling stock and them in company filter

This commit is contained in:
2023-10-16 22:48:46 +02:00
parent e6f1480894
commit 7865bf04f0
8 changed files with 89 additions and 37 deletions

View File

@@ -14,7 +14,7 @@
{% if d.item.logo %}
<tr>
<th class="w-33" scope="row">Logo</th>
<td><img style="max-height: 48px" src="{{ d.item.logo.url }}" /></td>
<td><img class="logo" src="{{ d.item.logo.url }}" /></td>
</tr>
{% endif %}
<tr>

View File

@@ -44,7 +44,7 @@
</tr>
<tr>
<th scope="row">Length</th>
<td>{{ d.item.consist_item.all | length }}</td>
<td>{{ d.item.consist_item.count }}</td>
</tr>
</tbody>
</table>