-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated planning templates #508
base: master
Are you sure you want to change the base?
Conversation
@@ -33,17 +33,27 @@ def hm2s(hours, minutes=0): | |||
[(hm2s(25), False), (hm2s(28), True), _('derde dienst')]], | |||
'sooscie': [ | |||
[(hm2s(20, 30), False), (hm2s(24), False), _('openen')], | |||
[(hm2s(24), False), (hm2s(28), True), _('sluiten')]]}, | |||
'borrel_met_avondeten': { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deze moet dan ook toegevoegd worden aan kn/planning/forms.py (zie EventCreateForm
), dan wordt hij ook daadwerkelijk zichtbaar in de dropdown.
Daarnaast: de indentation klopt niet helemaal (2 spaties teveel).
[(hm2s(24), False), (hm2s(28), True), _('sluiten')]]}, | ||
'borrel_met_avondeten': { | ||
'tappers': [ | ||
[(hm2s(19), False), (hm2s(21), False), _('nulde dienst')], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentation: dit moeten spaties zijn, geen tabs
[(hm2s(25), False), (hm2s(28), True), _('derde dienst')]], | ||
'sooscie': [ | ||
[(hm2s(17), False), (hm2s(20, 30), False), _('openen')], | ||
[(hm2s(20, 30), False), (hm2s(24), False), _('middelste dienst')], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tabs
[(hm2s(20, 45), False), (hm2s(23), False), _('openen')], | ||
[(hm2s(23), False), (hm2s(24), False), _('prime-time')], | ||
[(hm2s(24), False), (hm2s(25), True), _('sluiten')]]}, | ||
'cocks': [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tabs
Templates should be more in line with current activity management.