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

Remove banner from DCMS about page #2726

Merged
merged 1 commit into from
Mar 30, 2023
Merged

Remove banner from DCMS about page #2726

merged 1 commit into from
Mar 30, 2023

Conversation

1pretz1
Copy link
Contributor

@1pretz1 1pretz1 commented Mar 29, 2023

Content request: DCMS 1 has now been closed and we can remove the org is changing banner. department-for-business-energy-and-industrial-strategy and department-for-international-trade will be closing soon, at which point we can remove this bespoke banner code entirely.

We also need to remove the banner code for the actual org page which lives in collections. Once an org is closed in Whitehall the bespoke banner gets replaced automatically as a different view is rendered 2 vs 3. This means we don't have to remove each orgs custom banner as it gets replaced anyway. We will still need to remove the banner code in Collections when all three orgs are closed.

Trello:
https://trello.com/c/ZATeFciM/244-remove-temporary-banner-for-certain-org-about-pages

Before

Screenshot 2023-03-29 at 15 20 34

After

Screenshot 2023-03-29 at 15 20 52

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

Content request: DCMS [1] has now been closed and we can remove the org is
changing banner. department-for-business-energy-and-industrial-strategy
and department-for-international-trade will be closing soon, at which
point we can remove this bespoke banner code entirely.

We also need to remove the banner code for the actual org page which
lives in collections. Once an org is closed in Whitehall the bespoke
banner gets replaced automatically as a different view is rendered [2]
vs [3]. This means we don't have to remove each orgs custom banner as it
gets replaced anyway. We will still need to remove the banner code in
Collections when all three orgs are closed.

[1]: https://www.gov.uk/government/organisations/department-for-digital-culture-media-sport/
[2]: https://github.com/alphagov/collections/blob/6ded61a31a81b7c053151bf74c80c2cd84d001e8/app/views/organisations/separate_website.html.erb#L11-L13
[3]: https://github.com/alphagov/collections/blob/6ded61a31a81b7c053151bf74c80c2cd84d001e8/app/views/organisations/show.html.erb#L7-L13
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-2726 March 29, 2023 14:22 Inactive
Copy link
Contributor

@KludgeKML KludgeKML left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@1pretz1 1pretz1 merged commit 7ea0a53 into main Mar 30, 2023
@1pretz1 1pretz1 deleted the remove-banner-from-dcms branch March 30, 2023 09:13
1pretz1 added a commit that referenced this pull request May 12, 2023
This was asked by content.

DIT and BEIS have now closed which means we can remove the transitory
banners on the org about pages and the accompanying code. We've already
removed DCMS's banner prior to this [1].

Trello:
https://trello.com/c/ZATeFciM/5-remove-temporary-banner-for-certain-org-about-pages

[1]: #2726
1pretz1 added a commit that referenced this pull request May 12, 2023
This was asked by content.

DIT and BEIS have now closed which means we can remove the transitory
banners on the org about pages and the accompanying code. We've already
removed DCMS's banner prior to this [1].

Trello:
https://trello.com/c/ZATeFciM/5-remove-temporary-banner-for-certain-org-about-pages

[1]: #2726
1pretz1 added a commit that referenced this pull request May 12, 2023
This was asked by content

DIT and BEIS have now closed which means we can remove the transitory
banners on the org about pages and the accompanying code. We've already
removed DCMS's banner prior to this [1].

Trello:
https://trello.com/c/ZATeFciM/5-remove-temporary-banner-for-certain-org-about-pages

[1]: #2726
1pretz1 added a commit that referenced this pull request May 12, 2023
This was asked by content.

DIT and BEIS have now closed which means we can remove the transitory
banners on the org about pages and the accompanying code. We've already
removed DCMS's banner prior to this [1].

Trello:
https://trello.com/c/ZATeFciM/5-remove-temporary-banner-for-certain-org-about-pages

[1]: #2726
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants