1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Add mark_utilized to IPRange

This commit is contained in:
jeremystretch
2023-02-28 10:09:09 -05:00
committed by Jeremy Stretch
parent 8a08d3621b
commit 536b46158a
12 changed files with 61 additions and 10 deletions

View File

@@ -30,7 +30,12 @@
<tr>
<th scope="row">Utilization</th>
<td>
{% utilization_graph object.utilization %}
{% if object.mark_utilized %}
{% utilization_graph 100 warning_threshold=0 danger_threshold=0 %}
<small>(Marked fully utilized)</small>
{% else %}
{% utilization_graph object.utilization %}
{% endif %}
</td>
</tr>
<tr>