Skip to content
Snippets Groups Projects
Commit 4607da0a authored by Julian's avatar Julian
Browse files

Reformat

parent ac770879
No related branches found
No related tags found
1 merge request!385Resolve "Hide days"
Pipeline #193683 passed
...@@ -123,6 +123,7 @@ class SupervisionEventFeedColor(StringPreference): ...@@ -123,6 +123,7 @@ class SupervisionEventFeedColor(StringPreference):
widget = ColorWidget widget = ColorWidget
required = True required = True
@site_preferences_registry.register @site_preferences_registry.register
class DaysInCalendar(MultipleChoicePreference): class DaysInCalendar(MultipleChoicePreference):
section = chronos section = chronos
...@@ -130,13 +131,13 @@ class DaysInCalendar(MultipleChoicePreference): ...@@ -130,13 +131,13 @@ class DaysInCalendar(MultipleChoicePreference):
default = ["1", "2", "3", "4", "5"] default = ["1", "2", "3", "4", "5"]
verbose_name = _("Days of the week that appear in the timetable") verbose_name = _("Days of the week that appear in the timetable")
choices = [ choices = [
("0", _("Sunday")),
("1", _("Monday")), ("1", _("Monday")),
("2", _("Tuesday")), ("2", _("Tuesday")),
("3", _("Wednesday")), ("3", _("Wednesday")),
("4", _("Thursday")), ("4", _("Thursday")),
("5", _("Friday")), ("5", _("Friday")),
("6", _("Saturday")), ("6", _("Saturday")),
("0", _("Sunday")),
] ]
required = True required = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment