Clean up object template

This commit is contained in:
Jeremy Stretch 2025-04-03 09:55:39 -04:00
parent def267a9da
commit 4ee9653e63

View File

@ -26,15 +26,18 @@
<td>{{ object.size }}</td> <td>{{ object.size }}</td>
</tr> </tr>
<tr> <tr>
<th scope="row">{% trans "Reserved" %}</th> <th scope="row">{% trans "Marked Populated" %}</th>
<td>{% checkmark object.mark_reserved %}</td> <td>{% checkmark object.mark_populated %}</td>
</tr>
<tr>
<th scope="row">{% trans "Marked Utilized" %}</th>
<td>{% checkmark object.mark_utilized %}</td>
</tr> </tr>
<tr> <tr>
<th scope="row">{% trans "Utilization" %}</th> <th scope="row">{% trans "Utilization" %}</th>
<td> <td>
{% if object.mark_utilized %} {% if object.mark_utilized %}
{% utilization_graph 100 warning_threshold=0 danger_threshold=0 %} {% utilization_graph 100 warning_threshold=0 danger_threshold=0 %}
<small>({% trans "Marked fully utilized" %})</small>
{% else %} {% else %}
{% utilization_graph object.utilization %} {% utilization_graph object.utilization %}
{% endif %} {% endif %}