mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 02:48:38 -06:00
Clean up object template
This commit is contained in:
parent
def267a9da
commit
4ee9653e63
@ -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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user