Provide consist composition

This commit is contained in:
2025-04-27 18:22:13 +02:00
parent 88d718fa94
commit 85741f090c
4 changed files with 17 additions and 3 deletions

View File

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

View File

@@ -109,7 +109,7 @@
{% endif %}
<tr>
<th scope="row">Length</th>
<td>{{ data | length }}</td>
<td>{{ consist.length }}: {% for t in consist.get_type_count %}{{ t.count }}x {{ t.type }} {{t.category }}{% if not forloop.last %} + {% endif %}{% endfor %}</td>
</tr>
</tbody>
</table>