mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-22 13:34:04 +03:00
Fixed fixed service tab
This commit is contained in:
parent
4457c4e84d
commit
37b0864c12
@ -90,7 +90,7 @@ class FixedService(services.Service, abc.ABC): # pylint: disable=too-many-publi
|
|||||||
tooltip=_(
|
tooltip=_(
|
||||||
'If active, UDS will try to create an snapshot (if one already does not exists) before accessing a machine, and restore it after usage.'
|
'If active, UDS will try to create an snapshot (if one already does not exists) before accessing a machine, and restore it after usage.'
|
||||||
),
|
),
|
||||||
tab=_('Machines'),
|
tab=types.ui.Tab.MACHINE,
|
||||||
old_field_name='useSnapshots',
|
old_field_name='useSnapshots',
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -102,7 +102,7 @@ class FixedService(services.Service, abc.ABC): # pylint: disable=too-many-publi
|
|||||||
tooltip=_(
|
tooltip=_(
|
||||||
'If active, UDS will try to create an snapshot (if one already does not exists) before accessing a machine, and restore it after usage.'
|
'If active, UDS will try to create an snapshot (if one already does not exists) before accessing a machine, and restore it after usage.'
|
||||||
),
|
),
|
||||||
tab=_('Machines'),
|
tab=types.ui.Tab.MACHINE,
|
||||||
choices=[
|
choices=[
|
||||||
gui.choice_item('no', _('No snapshot')),
|
gui.choice_item('no', _('No snapshot')),
|
||||||
gui.choice_item('stop', _('Recover snapshot and stop machine')),
|
gui.choice_item('stop', _('Recover snapshot and stop machine')),
|
||||||
@ -116,7 +116,7 @@ class FixedService(services.Service, abc.ABC): # pylint: disable=too-many-publi
|
|||||||
order=21,
|
order=21,
|
||||||
tooltip=_('Machines for this service'),
|
tooltip=_('Machines for this service'),
|
||||||
required=True,
|
required=True,
|
||||||
tab=_('Machines'),
|
tab=types.ui.Tab.MACHINE,
|
||||||
rows=10,
|
rows=10,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user