Przeglądaj źródła

feat(ipam): Change DHCP IP address status color from green to purple

Group DHCP with SLAAC as an automatic address configuration method while
keeping it visually distinct from Active and Available.

Fixes #22623
Martin Hauser 1 tydzień temu
rodzic
commit
87d396bab5
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      netbox/ipam/choices.py

+ 1 - 1
netbox/ipam/choices.py

@@ -69,7 +69,7 @@ class IPAddressStatusChoices(ChoiceSet):
         (STATUS_ACTIVE, _('Active'), 'blue'),
         (STATUS_RESERVED, _('Reserved'), 'cyan'),
         (STATUS_DEPRECATED, _('Deprecated'), 'red'),
-        (STATUS_DHCP, _('DHCP'), 'green'),
+        (STATUS_DHCP, _('DHCP'), 'purple'),
         (STATUS_SLAAC, _('SLAAC'), 'purple'),
     ]