Minor improvements

This commit is contained in:
2023-10-02 23:27:57 +02:00
parent 22bee7d95d
commit bcfed3534c
4 changed files with 9 additions and 9 deletions

View File

@@ -164,11 +164,11 @@
</tr>
<tr>
<th scope="row">Production year</th>
<td>{{ rolling_stock.production_year | default_if_none:"" }}</td>
<td>{{ rolling_stock.production_year|default:"-" }}</td>
</tr>
<tr>
<th scope="row">Purchase date</th>
<td>{{ rolling_stock.purchase_date | default_if_none:"" }}</td>
<td>{{ rolling_stock.purchase_date|default:"-" }}</td>
</tr>
</tbody>
</table>
@@ -264,7 +264,7 @@
</tr>
<tr>
<th scope="row">Manufacturer</th>
<td>{{ rolling_stock.decoder.manufacturer|default_if_none:"" }}</td>
<td>{{ rolling_stock.decoder.manufacturer|default:"-" }}</td>
</tr>
<tr>
<th scope="row">Version</th>