-
Notifications
You must be signed in to change notification settings - Fork 89
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
Job fair participation flag #644
Conversation
@ejodlowska @bwaliszewski Feedback welcome!! |
Twitch Stream detailing all of this work end to end: https://www.twitch.tv/videos/218141251 |
@ewdurbin It looks good to me - very cool. The only issue I see is the list of job fair table #s is going to be a very long list (~60). Is there any way to have it on the right hand side next to the job ads? |
@ejodlowska yes, indeed that is the plan! this was just all put together to sketch out the ideas. i plan to complete the layout shortly and add some tests :) |
@ewdurbin Looks awesome! Thanks so much for working on this! |
Issue #638 and #643 both relate to determining if a Sponsor is participating in the Job Fair or not! This adds a Boolean that can annotate Job Fair Participation for each sponsor individually and exposes that in the the Django Admin. PyCon staff can now explicitly set or unset Job Fair Participation so that we can auto generate the list of Job Fair Participants for #643 and hopefully expose the boolean for templates to contain different content for Sponsors who are and are not participating in the job fair.
Introduces Django's own templating language for more robust templates in sponsor emails. Leaves existing %% based template logic in place, does a pass of Django's Template.render() at the end. Currently only exposes JOB_FAIR_PARTICIPANT boolean.
a5f9ddf
to
9b7b2a3
Compare
Flag for Job Fair Participation
Added a
job_fair_participant
BooleanField
on theSponsor
model and make editable in Django Admin.Auto generate Job Fair Participant/Table Listing
Dynamically generate an HTML table on the
sponsors/jobs
page withSponsor
name and theirjob_fair_table_number
if theSponsor
is ajob_fair_participant
.Smarter Templates for Sponsor Emails
Added Django Template functionality to
Sponsor.send_email
that allows for Django Template logic in Sponsor email sends... Hard to explain 😢Non Participant:
Participant:
Address #643 #638