1
0
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:
Adolfo Gómez García 2024-03-28 03:11:24 +01:00
parent 4457c4e84d
commit 37b0864c12
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23

View File

@ -90,7 +90,7 @@ class FixedService(services.Service, abc.ABC): # pylint: disable=too-many-publi
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.'
),
tab=_('Machines'),
tab=types.ui.Tab.MACHINE,
old_field_name='useSnapshots',
)
@ -102,7 +102,7 @@ class FixedService(services.Service, abc.ABC): # pylint: disable=too-many-publi
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.'
),
tab=_('Machines'),
tab=types.ui.Tab.MACHINE,
choices=[
gui.choice_item('no', _('No snapshot')),
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,
tooltip=_('Machines for this service'),
required=True,
tab=_('Machines'),
tab=types.ui.Tab.MACHINE,
rows=10,
)