You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User workflow for sponsorship applications (#1667)
* Initial sponsor application modeling
* Form to create a new sponsor application
* Simple view to display new sponsor application form
* Use cookie to store selected benefits
* Redirect user back to benefits form if no data in cookie
* Simple template view to work as the final step
* Move helper test method to utils
* Make sure wokflow finishes as expected
* Create sponsorship using information, benefits and package
* Post also creates sponsorship
* Use the package amount as sponsorship fee
* Inform users about why they are being redirect
* Clean up cookies after creating sponsorship
* View to preview sponsorship
* Remove old TODO note
* Trailing slashes
* Clean up current Sponsor model implementation
* SponsorInformation is now the Sponsor model
* Create select field for user to pick existing sponsors
* Create formset for contacts
* Refactor sponsorship application form to use contacts formset
* Remove deprecated comment
* Better determine primary and user contact
* Install django widget tweaks
* Render form fields manually
* Better display for contacts form
* Implement missing __str__
* JS to control contact field sets
* Hide/show logic if user has previous sponsor
* Fix CSS error with upload inputs
* Display SponsorContact in the admin
* Unit test new property
* New sponsor fields are only required if no sponsor was selected
* Display message with sponsorship information
* Check benefits if already selected
* Display form errors
* Fix test to properly force error
* Checkbox to select primary contacts
* Force order to avoid tests inconsistency
* Display price preview
* CSS fix for contacts form
* Display the form if errors
* Refactor how contacts are being structured so they fit well if errors
* Implement logic to check if application is for a modified package
* Add status field to Sponsorship
* allow reordering sponsorship programs in django admin
* apply black formatting
* add indicator for benefits marked as new
Co-authored-by: Ernest W. Durbin III <ewdurbin@gmail.com>
help_text="Name of the sponsor, for public display.",
137
+
required=False,
138
+
)
139
+
description=forms.CharField(
140
+
label="Sponsor description",
141
+
help_text="Brief description of the sponsor for public display.",
142
+
required=False,
143
+
widget=forms.TextInput,
144
+
)
145
+
landing_page_url=forms.URLField(
146
+
label="Sponsor landing page",
147
+
help_text="Sponsor landing page URL. This may be provided by the sponsor, however the linked page may not contain any sales or marketing information.",
148
+
required=False,
149
+
)
150
+
web_logo=forms.ImageField(
151
+
label="Sponsor web logo",
152
+
help_text="For display on our sponsor webpage. High resolution PNG or JPG, smallest dimension no less than 256px",
153
+
required=False,
154
+
)
155
+
print_logo=forms.FileField(
156
+
label="Sponsor print logo",
157
+
help_text="For printed materials, signage, and projection. SVG or EPS",
0 commit comments