-
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 pull request #1240 from openeuropa/EWPP-3069
EWPP-3069: Update to ECL 3.7.0.
- Loading branch information
Showing
10 changed files
with
151 additions
and
123 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -536,7 +536,7 @@ ECL components can be patched by using the [`patch-package`][18] NPM project. | |
|
||
To patch a component: | ||
|
||
1. Modify its source files directly in `./node_modules/@ecl-twig/[component-name]` | ||
1. Modify its source files directly in `./node_modules/@ecl/[component-name]` | ||
2. Run: | ||
|
||
```bash | ||
|
@@ -548,7 +548,7 @@ Or, when using Docker Compose: | |
```bash | ||
docker-compose exec -u node node git config --global user.email "[email protected]" | ||
docker-compose exec -u node node git config --global user.name "Name" | ||
docker-compose exec -u node node npx patch-package @ecl-twig/[component-name] | ||
docker-compose exec -u node node npx patch-package @ecl/[component-name] | ||
``` | ||
|
||
Patches will be generated in `./patches` and applied when running `npm install`. | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
patch-package | ||
--- a/node_modules/@ecl/twig-component-file/file.html.twig | ||
+++ b/node_modules/@ecl/twig-component-file/file.html.twig | ||
@@ -113,7 +113,11 @@ | ||
<div class="ecl-file__detail"> | ||
<div class="ecl-file__detail-info"> | ||
{% if _labels is defined %} | ||
- {{- _labelsMarkup -}} | ||
+ {% for _label in _labels %} | ||
+ <div class="ecl-file__label"> | ||
+ {% include '@ecl/label/label.html.twig' with _label only %} | ||
+ </div> | ||
+ {% endfor %} | ||
{% endif %} | ||
{% if _meta_detail_string is not empty %} | ||
<div class="ecl-file__detail-meta"> | ||
@@ -146,7 +150,11 @@ | ||
<div class="ecl-file__info"> | ||
{% if _variant == 'default' %} | ||
{% if _labels is defined %} | ||
- {{ _labelsMarkup }} | ||
+ {% for _label in _labels %} | ||
+ <div class="ecl-file__label"> | ||
+ {% include '@ecl/label/label.html.twig' with _label only %} | ||
+ </div> | ||
+ {% endfor %} | ||
{% endif %} | ||
{% if _meta_detail_string is not empty %} | ||
<div class="ecl-file__detail-meta"> |
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.