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

Completion certificate doesn't have settings in context #3158

Closed
willgearty opened this issue Nov 11, 2020 · 0 comments · Fixed by #3162
Closed

Completion certificate doesn't have settings in context #3158

willgearty opened this issue Nov 11, 2020 · 0 comments · Fixed by #3162

Comments

@willgearty
Copy link
Member

The completion certificate template seems to think it gets the settings in its context:
https://github.com/learning-unlimited/ESP-Website/blob/main/esp/templates/program/modules/programprintables/completion_certificate.tex

However, when the template is actually rendered, it doesn't fill in any of the settings context things (like program type and email address). It doesn't look like we include it in the context:

context = {'user': user, 'prog': prog,
'schedule': ProgramPrintables.getTranscript(prog, user, 'latex'),
'descriptions': ProgramPrintables.getTranscript(prog, user, 'latex_desc')}

Maybe we are expecting render_to_latex to do it?

Confirmed on the Columbia and Yale sites.

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

Successfully merging a pull request may close this issue.

1 participant