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

EWPP-2507: Update the list_item pattern to use the ECL Content item component. #1156

Merged
merged 8 commits into from
Sep 15, 2022

Conversation

22Alexandra
Copy link
Contributor

No description provided.

@22Alexandra 22Alexandra force-pushed the EWPP-2507 branch 3 times, most recently from 1f40104 to ff28086 Compare August 19, 2022 12:29
@22Alexandra 22Alexandra changed the base branch from 3.x to EWPP-2577 September 5, 2022 07:09
@22Alexandra 22Alexandra force-pushed the EWPP-2577 branch 7 times, most recently from b5cbbb9 to b677fdc Compare September 6, 2022 07:50
imanoleguskiza
imanoleguskiza previously approved these changes Sep 9, 2022
sergepavle
sergepavle previously approved these changes Sep 9, 2022
@@ -819,7 +819,7 @@ function oe_theme_preprocess_paragraph__oe_list_item(array &$variables): void {
$cacheability = CacheableMetadata::createFromRenderArray($variables);

// Extract the image if present.
if (!$paragraph->get('field_oe_image')->isEmpty()) {
if (!$paragraph->get('field_oe_image')->isEmpty() && $variables['variant'] !== 'default') {
Copy link
Member

Choose a reason for hiding this comment

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

I didn't get why the image is not allowed to default variant. In templates/patterns/list_item/pattern-list-item.html.twig image is used for the picture variable.

@nagyad nagyad changed the base branch from EWPP-2577 to EPIC-EWPP-2506 September 12, 2022 11:47
@nagyad nagyad dismissed stale reviews from sergepavle and imanoleguskiza September 12, 2022 11:47

The base branch was changed.

@sergepavle sergepavle force-pushed the EWPP-2507 branch 2 times, most recently from 0a5e1b7 to 6e41430 Compare September 14, 2022 08:30
@22Alexandra 22Alexandra merged commit f73de30 into EPIC-EWPP-2506 Sep 15, 2022
@22Alexandra 22Alexandra deleted the EWPP-2507 branch September 15, 2022 14:17
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.

4 participants