vehicles can now be deactivated

This commit is contained in:
2021-06-20 08:43:46 +02:00
parent 3d0bb8c83f
commit 3035006225
13 changed files with 280 additions and 179 deletions

View File

@@ -33,7 +33,10 @@
{% for vehicle in current_user.vehicles %}
<tr>
<td>
{{ vehicle.name }}
{{ vehicle.name }}<br />
{% if not vehicle.is_active %}
(inactive)
{% endif %}
</td>
<td>
{{ vehicle.pitstops | length }} pitstops<br />