Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RoelBouman
Copy link
Contributor

Templates should be more in line with current activity management.

@@ -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': {
Copy link
Contributor

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')],
Copy link
Contributor

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')],
Copy link
Contributor

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': [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tabs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants