Closed mariuskava closed 5 months ago
I have doubts about declared jinja variables. IMHO html looks nicer without "ifs" and one does not need to repeat the same condition several times. However, I would prefer to minimize flow control inside jinja temaplate and have those "view toggles" in the python code and pass them via flask.render_template
.
Let me know what you think @andesol @nathanclairmonte @minkyngkm
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 71.51%. Comparing base (
376c630
) to head (6db00c0
). Report is 27 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Done
https://github.com/canonical/canonical.com/pull/1245/commits/b495016b51a756083101ecd57748d602eaea03ee Candidate page shows notification about received written interview (main requirement)
https://github.com/canonical/canonical.com/pull/1245/commits/c6c24299b50234c5aaeef13f98cc5d27b49dc5a6 Fixed djlint errors. Before there was a div opened inside if block and closed outside of it. djlint didn't like that.
https://github.com/canonical/canonical.com/pull/1245/commits/fef0c3af57bcd2f54abae694723c4d28a622c641 djlint --reformat
https://github.com/canonical/canonical.com/pull/1245/commits/6db00c00a55e8fd6eaa1a08659210b238e575980 keep css class names inplace
QA
dotrun
Screenshots