-
Notifications
You must be signed in to change notification settings - Fork 15
Dietary restrictions volunteer details 1450 #1516
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
Dietary restrictions volunteer details 1450 #1516
Conversation
…ue again and edited conditional statement in html file.
BrianRamsay
left a comment
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.
-
This isn't exactly what we are needing. We need to see a distinction between a volunteer having no dietary restrictions, and an empty field because they have not filled it out. Currently, both cases will show "None specified", which is the same as having it empty for both cases.
-
Your description mentions that you changed the field in the database to not allow nulls, but I don't see that file in the pull request.
-
I know the ticket asked for it, but I don't think it's necessary to have "Dietary Restriction(s)". We can put it back the way it was, "Dietary Restrictions". The plural is fine in all cases.
…sappears a checkbox
…tofills with 'No dietary restrictions'
…rictions and fixed the display for when the user unchecks the diet restriction box
Issue Description
Fixes #1450
Changes
-Changed dietRestriction = TextField(null=True) in minor.py file to dietRestriction = TextField(null=False) to change the conditional statement for a null input. Now the volunteer details page shows "Not specified" if the dietRestriction is null.
Testing