mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-19 23:41:35 +02:00
@@ -139,6 +139,24 @@ class RackAirflowChoices(ChoiceSet):
|
||||
]
|
||||
|
||||
|
||||
#
|
||||
# Rack reservations
|
||||
#
|
||||
|
||||
class RackReservationStatusChoices(ChoiceSet):
|
||||
key = 'RackReservation.status'
|
||||
|
||||
STATUS_PENDING = 'pending'
|
||||
STATUS_ACTIVE = 'active'
|
||||
STATUS_STALE = 'stale'
|
||||
|
||||
CHOICES = [
|
||||
(STATUS_PENDING, _('Pending'), 'cyan'),
|
||||
(STATUS_ACTIVE, _('Active'), 'green'),
|
||||
(STATUS_STALE, _('Stale'), 'orange'),
|
||||
]
|
||||
|
||||
|
||||
#
|
||||
# DeviceTypes
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user