fix template

This commit is contained in:
Cayo Puigdefabregas 2023-03-14 17:52:49 +01:00
parent 6fa5a25a4a
commit ddcd1697e6

View file

@ -288,10 +288,10 @@
{% for erasure in erasures %}
<tr style="border-bottom: 1px dashed #000;">
<td>
{{ erasure.device.serial_number.upper() }}
{{ erasure.device.serial_number and erasure.device.serial_number.upper() or '' }}
</td>
<td>
{{ erasure.parent.serial_number.upper() }}
{{ erasure.parent.serial_number and erasure.parent.serial_number.upper() or '' }}
</td>
<td>
{{ erasure.get_public_name() }}