1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-10-08 19:34:11 +03:00

More refactorization

This commit is contained in:
Adolfo Gómez García
2024-01-10 19:17:15 +01:00
parent 0b66300805
commit ad1b8cb51d
111 changed files with 736 additions and 693 deletions

View File

@@ -300,15 +300,15 @@ class Services(DetailHandler): # pylint: disable=too-many-public-methods
Environment.getTempEnv(), parentInstance
) # Instantiate it so it has the opportunity to alter gui description based on parent
localGui = self.add_default_fields(
service.guiDescription(), ['name', 'comments', 'tags']
service.gui_description(), ['name', 'comments', 'tags']
)
self.add_field(
localGui,
{
'name': 'max_services_count_type',
'choices': [
gui.choiceItem('0', _('Standard')),
gui.choiceItem('1', _('Conservative')),
gui.choice_item('0', _('Standard')),
gui.choice_item('1', _('Conservative')),
],
'label': _('Service counting method'),
'tooltip': _(