-
Notifications
You must be signed in to change notification settings - Fork 510
Revamp and generate PDF timetable using Weasyprint #6558
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
Conversation
ThiefMaster
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.
I know it's still WIP, just a few comments on things I noticed while skimming over the diff
|
I will get to the comments after the refactor as some of this might not be relevant anymore. However, I'll keep the points in mind for the new code and will check these things when the PoC is done. |
|
As discussed with @ThiefMaster , we will remove the old code and logic once the current changes are approved. |
|
Example of generated PDF for large event (350 pages) with everything displayed and only the 'each session on new page' flag disabled: |
|
I have modified the code so that the old PDF export is easy to remove. Use the |
indico/modules/events/timetable/templates/display/indico/_subcontribution.html
Outdated
Show resolved
Hide resolved
4811e1b to
7d37307
Compare
This option feels way too noisy to be enabled there...
It was literally the same for static pages and the live endpoint
ea08998 to
a7ded4b
Compare
ThiefMaster
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.
everything works nicely now :)
Closes #6554