Merge pull request #3335 from emanuelschuetze/config-order

Reorder weight fields of core configs.
This commit is contained in:
Norman Jäckel 2017-07-28 14:53:53 +02:00 committed by GitHub
commit 2aeaf251a2

View File

@ -111,7 +111,7 @@ def get_config_variables():
name='general_csv_separator', name='general_csv_separator',
default_value=',', default_value=',',
label='Separator used for all csv exports and examples', label='Separator used for all csv exports and examples',
weight=144, weight=142,
group='General', group='General',
subgroup='Export') subgroup='Export')
@ -124,7 +124,7 @@ def get_config_variables():
{'value': 'left', 'display_name': 'Left'}, {'value': 'left', 'display_name': 'Left'},
{'value': 'center', 'display_name': 'Center'}, {'value': 'center', 'display_name': 'Center'},
{'value': 'right', 'display_name': 'Right'}), {'value': 'right', 'display_name': 'Right'}),
weight=145, weight=144,
group='General', group='General',
subgroup='Export') subgroup='Export')
@ -157,7 +157,7 @@ def get_config_variables():
{'value': 'pt', 'display_name': 'Português'}, {'value': 'pt', 'display_name': 'Português'},
{'value': 'cs', 'display_name': 'Čeština'}, {'value': 'cs', 'display_name': 'Čeština'},
{'value': 'ru', 'display_name': 'русский'}), {'value': 'ru', 'display_name': 'русский'}),
weight=148, weight=150,
group='Projector') group='Projector')
yield ConfigVariable( yield ConfigVariable(
@ -167,7 +167,7 @@ def get_config_variables():
label='Show logo on projector', label='Show logo on projector',
help_text='You can replace the logo by uploading an image and set it as ' help_text='You can replace the logo by uploading an image and set it as '
'the "Projector logo" in "files".', 'the "Projector logo" in "files".',
weight=150, weight=152,
group='Projector') group='Projector')
yield ConfigVariable( yield ConfigVariable(
@ -183,7 +183,7 @@ def get_config_variables():
default_value=True, default_value=True,
input_type='boolean', input_type='boolean',
label='Show the clock on projector', label='Show the clock on projector',
weight=156, weight=154,
group='Projector') group='Projector')
yield ConfigVariable( yield ConfigVariable(