-
Notifications
You must be signed in to change notification settings - Fork 5
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
DIGITAL-37: Migrate links paragraph templates. #48
Conversation
Adds paragraph_view_mode module. Migrate template for featured links field display. Adds separate templates for default and featured links views of resources. Updates featured links template with correct markup. Switch shortcodes to use theme templates for resources.
151716b
to
932bbc7
Compare
…-resource-paragraphs # Conflicts: # composer.lock # composer.log # web/themes/custom/digital_gov/digital_gov.theme
Adds a twig function templates can use to determine logo to use for a given URL.
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.
Please check the integration of the paragraphs on the topics node template
Adds a twig function to get the favicon URI via Google.
…graphs' into feature/DIGITAL-37-resource-paragraphs
…-resource-paragraphs # Conflicts: # composer.lock # composer.log # web/modules/custom/ec_shortcodes/templates/ec-shortcodes-featured-resource-ext.html.twig # web/modules/custom/ec_shortcodes/templates/ec-shortcodes-featured-resource.html.twig # web/themes/custom/digital_gov/templates/node/node--topics.html.twig
@mattsqd do you need any more changes on this PR? |
…o remove br and p tags.
…nder fields. Made internal content always just load dg logo.
…ext. Change field_first_name & field_last_name to plain. Use CKEditor for single_inline_html which is for field_dek and field_summary so that WYSIWYG can be used.
…-resource-paragraphs
Sorry, for the delay here. The input formatters were driving me crazy so I had to do some extra changes in your branch. I can merge now. |
Jira ticket
DIGITAL-37
Purpose
Adds paragraph_view_mode module.
Migrate template for featured links field display. Adds separate templates for default and featured links views of resources. Updates featured links template with correct markup. Switch shortcodes to use theme templates for resources.
It can be helpful to understand:
Includes the following PRs that must be merged first
Deployment and testing
Local Setup
bin/drush cim
to get paragraph type updatesbin/drush cr
to refresh theme template cacheQA/Testing instructions
Edit a topic page, add one or more internal and external resources
Confirm they use the expected HTML from the featured-links template
Override the title, summary for resources and confirm overrides are used
Checklist for the Developer
Checklist for the Peer Reviewers