-
Notifications
You must be signed in to change notification settings - Fork 0
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 the menu CSS to ensure the columns are consistent width, and update the macro to ensure both text and link are present before outputting a link #63
base: main-menu-CMS-169
Are you sure you want to change the base?
Conversation
* Fix cookiebanner settings link URL variable name (CMS-265) * Make the contact details name + email unique (CMS-225) * Add test for the unique constraint * Update contact details listings to include email/phone * Bump deps. Mainly Django 5.1.4
--------- Co-authored-by: Mebin Abraham <[email protected]> Co-authored-by: kacperpONS <[email protected]> Co-authored-by: Dan Braghiș <[email protected]> Co-authored-by: Jake Howard <[email protected]> Co-authored-by: Helen Chapman <[email protected]> Co-authored-by: Mebin Abraham <[email protected]>
* Add a custom chooser for release calendar pages that only includes upcoming release calendar pages * Add missing string translation on the information page template * Drop page status column * Ensure the bundle page chooser deduplicates choices
…pdate the macro to ensure both text and link are present before outputting a link
</a> | ||
{% endif %} | ||
<a href="{{ item.url }}" class="navigation__link"> | ||
<h2 class="ons-u-fs-s--b ons-u-mb-no navigation__heading avigation__heading--key-link">{{ item.text }}</h2> |
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.
question: should the nesting be inverted? that is: <h2><a></a></h2>
rather than <a><h2>></h2></a>
or is this how the DS does it?
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.
Good spot. In terms of HTML(5) validation, it doesn't matter. I can't see an example of a header and link together in the current base template in the design system, but both gov.uk and w3c use links inside headings, so I'll switch it.
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.
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.
done.
Co-authored-by: Dan Braghiș <[email protected]>
* Exclude any release calendar page with a past date from the bundle RC chooser * Update dependencies Mainly Wagtail 6.2.3 Also includes https://pillow.readthedocs.io/en/stable/releasenotes/11.1.0.html which should speed up PNG saving
* Styling for the release page plus some refactoring * Spacing tweaks * Duplicate accreditation logo to avoid sharing classes with the header * Pass through classes to census and accreditation logos to be DRY * Fix to spacing class * Adjust layout of census and accreditation logos, and ensure census logo is visible in high-contrast mode * Add a new include for contact details, and ensure spacing of release content is correct * Make the contact details component variable more generic --------- Co-authored-by: Dan Braghiș <[email protected]>
…nt-issues-CMS-169
What is the context of this PR?
How to review
Follow-up Actions
List any follow-up actions (if applicable), like needed documentation updates or additional testing.