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

(#4471) Remove MLP Title Paragraph and add it to MLP Template #4481

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

dev-rana-publicis
Copy link
Contributor

Closes #4471

@cgdp-management-server
Copy link

ODE Deployment

Code has been deployed to ODE 857.

@dev-rana-publicis dev-rana-publicis marked this pull request as ready for review October 30, 2024 20:20
@dev-rana-publicis dev-rana-publicis force-pushed the ticket/4471-title branch 2 times, most recently from 4a9b54e to 2834e9a Compare November 5, 2024 18:24
@@ -1,4 +1,7 @@
<!-- Begin MAIN CONTENT AREA -->
<main class="main-content type {{ page_type }}" id="main-content">
<div class="usa-section usa-section--cgdp-no-bottom" data-eddl-landing-row>
<h1 class="nci-heading-h1">{{ drupal_token('current-page:title')}}</h1>
Copy link
Member

Choose a reason for hiding this comment

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

You should be able to just reference the node's title here, <h1>{{ node.label }}</h1>, and skip drupal_token. drupal_token should only be used when you can't get the data through a more direct (and more performant) way.

@dev-rana-publicis dev-rana-publicis force-pushed the ticket/4471-title branch 2 times, most recently from 731c351 to 807ea33 Compare November 5, 2024 22:24
@bennettcc
Copy link

Discussed on 11/12: Needs to be tested on ACSF - will coordinate with O&M team for testing availability

- Adds update hook to remove paragraph from the database and delete
  paragraph from any active pages on prod

Closes #4471
@KateMashkinaNIH KateMashkinaNIH added the Passed QA review Regression testing found no issues. label Nov 14, 2024
@bryanpizzillo
Copy link
Member

I looked on www-dev-acsf and there are no errors in the error log, and the paragraph does not exist in structure > Paragraphs.

@andyvanavery31 andyvanavery31 requested a review from a team November 15, 2024 15:01
Copy link

@andyvanavery31 andyvanavery31 left a comment

Choose a reason for hiding this comment

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

Passes product review.

@bryanpizzillo bryanpizzillo merged commit cfb848a into develop Nov 15, 2024
5 checks passed
@bryanpizzillo bryanpizzillo deleted the ticket/4471-title branch November 15, 2024 15:02
@bryanpizzillo bryanpizzillo added this to the 3.11.0 milestone Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Passed QA review Regression testing found no issues.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CR: Remove MLP Title Paragraph and Add it to the MLP Template
5 participants