-
Notifications
You must be signed in to change notification settings - Fork 920
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
Update leadership page layout #13557
Conversation
ef35bfe
to
0bf7dac
Compare
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #13557 +/- ##
==========================================
+ Coverage 76.54% 76.62% +0.08%
==========================================
Files 147 147
Lines 7880 7856 -24
==========================================
- Hits 6032 6020 -12
+ Misses 1848 1836 -12
☔ View full report in Codecov by Sentry. |
received approval, so this is good to merge once r+ |
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.
Looks good, just one nitpick about slashes. r+wc 🍃
</article> | ||
|
||
</div> | ||
{% include "mozorg/about/leadership/includes/executive.html"%} |
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.
Ooo very smart doing these as includes! This could have easily turned into a massive template that would scroll forever.
bedrock/mozorg/redirects.py
Outdated
@@ -562,4 +562,9 @@ def decider(request, **kwargs): | |||
redirect(r"^/exp/opt-out/?$", "privacy.convert-opt-out"), | |||
# Issue 13211 | |||
redirect(r"^/en/$", "/en-US/", permanent=True), | |||
# Issue 13554 | |||
redirect(r"^about/leadership/senior-leadership/$", "/about/leadership#senior/"), |
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 think the trailing slash should go before the hash on all of these:
redirect(r"^about/leadership/senior-leadership/$", "/about/leadership#senior/"), | |
redirect(r"^about/leadership/senior-leadership/$", "/about/leadership/#senior"), |
0bf7dac
to
26e7fed
Compare
One-line summary
#13554 - Changes the leadership page organization and layout.
Significant changes and points to review
/about/leadership has changed to include all members on one page - subnavigation has been updated to use anchor links as well
Issue / Bugzilla link
#13554
Testing
http://localhost:8000/en-US/about/leadership