-
Notifications
You must be signed in to change notification settings - Fork 15
Jinja ntp report #1016
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
Jinja ntp report #1016
Conversation
| current_size += 40 + h1_padding | ||
| # Calculating the height of paired tables | ||
| elif (el.name == 'div' | ||
| elif (el.name == 'div' and el.has_attr('style') |
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.
Can you add an ID to the element and not reference it by style attr?
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.
Can you add an ID to the element and not reference it by style attr?
Done
|
|
||
| else: | ||
| LOGGER.debug(f'Removed unrecognised question: {question["question"]}') | ||
| LOGGER.debug(f'Removed unrecognised question: {question["question"]}') # pylint: disable=W1405 |
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.
Is the pylint disable necessary? We were never notified of a pylint issue before.
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.
OlgaMardvilko
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.
The styles looks good to me, exactly the same as before.

report examples:
report.pdf
(rename pdf to html after download)
report.html.pdf