Skip to content
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

removed boarder from phase banner on home page #228

Merged
merged 1 commit into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions application/templates/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{% extends "layouts/layout.html" %}
{% block pageTitle %}Planning Data{% endblock %}
{% set templateName = "dl-info/homepage.html" %}
{% set hideBannerBorder = true %}

{% block main %}
<main id="content">
Expand Down
5 changes: 3 additions & 2 deletions application/templates/partials/phase-banner.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{% from "components/phase-banner/macro.jinja" import dlPhaseBanner %}

{{
dlPhaseBanner({
'phase': 'Beta',
'html': 'This is a new service – to help us improve it, <a href="https://docs.google.com/forms/d/e/1FAIpQLSc1yzvw1Duv6nQRS56p379IxxMdAC5EfklMfUnCVMikgbi0Xw/viewform" target="_blank">sign up to take part in research</a>',
'html': 'This is a new service – to help us improve it, <a href="https://docs.google.com/forms/d/e/1FAIpQLSc1yzvw1Duv6nQRS56p379IxxMdAC5EfklMfUnCVMikgbi0Xw/viewform" target="_blank" class="govuk-link">sign up to take part in research</a>',
'classes': 'govuk-width-container govuk-width-container' if not fullWidthHeader else 'govuk-width-container',
'attributes': {
'style': '' if not fullWidthHeader else 'padding: 10px 30px; max-width: unset;'
'style': 'border-bottom: 0px' if hideBannerBorder else '' + '' if not fullWidthHeader else 'padding: 10px 30px; max-width: unset;'
}
})
}}