mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-14 20:39:35 -06:00
Feat: added 2 states for DataSourceStatusChoices
This commit is contained in:
parent
bfeba36514
commit
2e0ff04f84
@ -13,6 +13,8 @@ class DataSourceStatusChoices(ChoiceSet):
|
|||||||
SYNCING = 'syncing'
|
SYNCING = 'syncing'
|
||||||
COMPLETED = 'completed'
|
COMPLETED = 'completed'
|
||||||
FAILED = 'failed'
|
FAILED = 'failed'
|
||||||
|
SCHEDULED = 'scheduled'
|
||||||
|
READY = 'ready'
|
||||||
|
|
||||||
CHOICES = (
|
CHOICES = (
|
||||||
(NEW, _('New'), 'blue'),
|
(NEW, _('New'), 'blue'),
|
||||||
@ -20,6 +22,8 @@ class DataSourceStatusChoices(ChoiceSet):
|
|||||||
(SYNCING, _('Syncing'), 'cyan'),
|
(SYNCING, _('Syncing'), 'cyan'),
|
||||||
(COMPLETED, _('Completed'), 'green'),
|
(COMPLETED, _('Completed'), 'green'),
|
||||||
(FAILED, _('Failed'), 'red'),
|
(FAILED, _('Failed'), 'red'),
|
||||||
|
(SCHEDULED, _('Scheduled'), 'gray'),
|
||||||
|
(READY, _('Ready'), 'green'),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user