-
Notifications
You must be signed in to change notification settings - Fork 8
Update and refactor festival datatype #335
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
Comments
Among some other things, this: - Introduces class constants for all tag and attribute names in the page XML. - Updates process() to the new style, also handling commands there instead of using registerCommand. - Updates view / command method names to the new style. - Makes form generation and handling consistent, using hypha_substitute and making more parts translated. - Add makeActionButton and constructFullPath helpers (to be generalized later). - No longer uses global variables. - Use variable substitution when generating e-mails. - Return 404 where appropriate. - Styling is removed from the HTML and moved to the CSS file (except for the timetable, which should probably be rewritten anyway). This also makes some functional changes: - Signup and contribution forms now have a default value for when they are not specified in the XML (these would have to be manually edited in the XML file up until now). - E-mails are now stored as translation texts and no longer configurable in the page XML, since there was minimal customization in practice and this makes things simpler. This relates to #135 and #335.
I think these would be separate features (that can co-exist): The former "what days to join" was intended to know how much participants to expect (i.e. how much lunch to arrange), while the latter "info about a contribution" would be intended to help create the timetable.
In #337, I've moved the e-mail content from the page XML to be translated strings, which means they're trivial to translate, but no longer customizable at all. This might need some more work to allow both translating and customization...
Yeah, this thought has also occurred to me, maybe this is something to be implemented now, then... |
Among some other things, this: - Introduces class constants for all tag and attribute names in the page XML. - Updates process() to the new style, also handling commands there instead of using registerCommand. - Updates view / command method names to the new style. - Makes form generation and handling consistent, using hypha_substitute and making more parts translated. - Add makeActionButton and constructFullPath helpers (to be generalized later). - No longer uses global variables. - Use variable substitution when generating e-mails. - Return 404 where appropriate. - Styling is removed from the HTML and moved to the CSS file (except for the timetable, which should probably be rewritten anyway). This also makes some functional changes: - Signup and contribution forms now have a default value for when they are not specified in the XML (these would have to be manually edited in the XML file up until now). - E-mails are now stored as translation texts and no longer configurable in the page XML, since there was minimal customization in practice and this makes things simpler. This relates to #135 and #335.
Among some other things, this: - Introduces class constants for all tag and attribute names in the page XML. - Updates process() to the new style, also handling commands there instead of using registerCommand. - Updates view / command method names to the new style. - Makes form generation and handling consistent, using hypha_substitute and making more parts translated. - Add makeActionButton and constructFullPath helpers (to be generalized later). - No longer uses global variables. - Use variable substitution when generating e-mails. - Return 404 where appropriate. - Styling is removed from the HTML and moved to the CSS file (except for the timetable, which should probably be rewritten anyway). This also makes some functional changes: - Signup and contribution forms now have a default value for when they are not specified in the XML (these would have to be manually edited in the XML file up until now). - E-mails are now stored as translation texts and no longer configurable in the page XML, since there was minimal customization in practice and this makes things simpler. This relates to #135 and #335.
These are partly covered by #341, though editing and revisions for the about and excerpt fields is not supported yet. |
Uh oh!
There was an error while loading. Please reload this page.
Here's a number of suggestions to improve the festival datatype:
The text was updated successfully, but these errors were encountered: