-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '3.x' into EWPP-3678-build-dev-ecl
- Loading branch information
Showing
28 changed files
with
271 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
patch-package | ||
--- a/node_modules/@ecl/twig-component-gallery/gallery-item.html.twig | ||
+++ b/node_modules/@ecl/twig-component-gallery/gallery-item.html.twig | ||
@@ -51,7 +51,7 @@ | ||
}, | ||
}}) | ||
%} | ||
- {% if _item.image.alt is not empty %} | ||
+ {% if _item.image.alt is defined %} | ||
{% set _item = _item|merge({ | ||
picture: _item.picture|merge({ | ||
img: _item.picture.img|merge({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
patch-package | ||
--- a/node_modules/@ecl/twig-component-media-container/media-container.html.twig | ||
+++ b/node_modules/@ecl/twig-component-media-container/media-container.html.twig | ||
@@ -69,7 +69,7 @@ | ||
}, | ||
} | ||
%} | ||
- {% if _alt is not empty %} | ||
+ {% if _alt is defined %} | ||
{% set _picture = _picture|merge({ | ||
img: _picture.img|merge({ | ||
alt: _alt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
patch-package | ||
--- a/node_modules/@ecl/twig-component-picture/picture.html.twig | ||
+++ b/node_modules/@ecl/twig-component-picture/picture.html.twig | ||
@@ -81,7 +81,7 @@ | ||
{% if _picture.img.src is not empty %} | ||
src="{{ _picture.img.src }}" | ||
{% endif %} | ||
- {% if _picture.img.alt is not empty %} | ||
+ {% if _picture.img.alt is defined %} | ||
alt="{{ _picture.img.alt }}" | ||
{% endif %} | ||
/> |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
diff --git a/node_modules/@ecl/twig-component-site-footer/site-footer.html.twig b/node_modules/@ecl/twig-component-site-footer/site-footer.html.twig | ||
index 761c4da..c6f58fd 100644 | ||
--- a/node_modules/@ecl/twig-component-site-footer/site-footer.html.twig | ||
+++ b/node_modules/@ecl/twig-component-site-footer/site-footer.html.twig | ||
@@ -6,6 +6,8 @@ | ||
- "section_class_name" (string) (default: '') | ||
- "logo" (EU only) | ||
- "alt" (string) alt attribute for the logo link | ||
+ - "aria_label" (string) aria-label attribute for the logo link | ||
+ - "title" (string) title attribute for the logo img | ||
- "path" (string) logo link path | ||
- "language" (string) Language code | ||
- "src_mobile" (string) Path the mobile logo | ||
@@ -101,7 +103,7 @@ | ||
path: _sections.logo.path, | ||
label: _label, | ||
type: 'standalone', | ||
- aria_label: _sections.logo.title | ||
+ aria_label: _sections.logo.aria_label, | ||
}, | ||
extra_classes: 'ecl-site-footer__logo-link' | ||
} only %} | ||
@@ -149,6 +151,7 @@ | ||
{% endif %} | ||
{% include '@ecl/link/link.html.twig' with _item|merge({ | ||
link: _item.link|default({})|merge({ type: 'standalone' }), | ||
+ icon: _item.icon|default({})|merge({ size: 'xs' }), | ||
extra_classes: 'ecl-site-footer__link', | ||
}) only %} | ||
{% if _item.content_after is defined and _item.content_after is not empty %} |
File renamed without changes.
Oops, something went wrong.