@openeuropa/bcl-project 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -8
- package/project.html.twig +96 -44
package/package.json
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
"name": "@openeuropa/bcl-project",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.20.0",
|
|
6
6
|
"description": "OE - BCL Project",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@openeuropa/bcl-base-templates": "^0.
|
|
12
|
-
"@openeuropa/bcl-carousel": "^0.
|
|
13
|
-
"@openeuropa/bcl-description-list": "^0.
|
|
14
|
-
"@openeuropa/bcl-featured-media": "^0.
|
|
15
|
-
"@openeuropa/bcl-inpage-navigation": "^0.
|
|
16
|
-
"@openeuropa/bcl-project-status": "^0.
|
|
11
|
+
"@openeuropa/bcl-base-templates": "^0.20.0",
|
|
12
|
+
"@openeuropa/bcl-carousel": "^0.20.0",
|
|
13
|
+
"@openeuropa/bcl-description-list": "^0.20.0",
|
|
14
|
+
"@openeuropa/bcl-featured-media": "^0.20.0",
|
|
15
|
+
"@openeuropa/bcl-inpage-navigation": "^0.20.0",
|
|
16
|
+
"@openeuropa/bcl-project-status": "^0.20.0"
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"design-system",
|
|
30
30
|
"twig"
|
|
31
31
|
],
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "ea13560489a089d0c198f781e75951a9160d2554"
|
|
33
33
|
}
|
package/project.html.twig
CHANGED
|
@@ -5,56 +5,108 @@
|
|
|
5
5
|
{% endblock %}
|
|
6
6
|
|
|
7
7
|
{% block content %}
|
|
8
|
-
{% include '@oe-bcl/bcl-project-status/project-status.html.twig' with project_details|merge({ charts: charts }) %}
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
{% if project_status.main_title is not empty %}
|
|
10
|
+
<h3
|
|
11
|
+
class="fw-bold mb-4"
|
|
12
|
+
{% if project_status.main_title_id is not empty %}
|
|
13
|
+
id="{{ project_status.main_title_id }}"
|
|
14
|
+
{% endif %}
|
|
15
|
+
>{{- project_status.main_title -}}</h3>
|
|
16
|
+
{% endif %}
|
|
17
|
+
{% include '@oe-bcl/bcl-project-status/project-status.html.twig' with project_status %}
|
|
18
|
+
|
|
19
|
+
{% if status_lists.main_title is not empty %}
|
|
20
|
+
<h3
|
|
21
|
+
class="fw-bold my-4"
|
|
22
|
+
{% if status_lists.main_title_id is not empty %}
|
|
23
|
+
id="{{ status_lists.main_title_id }}"
|
|
24
|
+
{% endif %}
|
|
25
|
+
>{{- status_lists.main_title -}}</h3>
|
|
26
|
+
{% endif %}
|
|
27
|
+
{% if status_lists.listing is defined and status_lists.listing is not empty %}
|
|
28
|
+
{% for lists in status_lists.listing %}
|
|
29
|
+
{% if lists.title is not empty %}
|
|
30
|
+
<h4 class="fw-bold mb-3">{{ lists.title }}</h4>
|
|
31
|
+
{% endif %}
|
|
32
|
+
{% for list in lists.content %}
|
|
33
|
+
{% include '@oe-bcl/bcl-description-list/description-list.html.twig' with list only %}
|
|
34
|
+
{% endfor %}
|
|
35
|
+
{% endfor %}
|
|
36
|
+
{% endif %}
|
|
37
|
+
|
|
38
|
+
{% if first_paragraphs is defined and first_paragraphs is not empty %}
|
|
39
|
+
{% for paragraph in first_paragraphs %}
|
|
40
|
+
<h3
|
|
41
|
+
class="fw-bold mb-4 pt-3"
|
|
42
|
+
id="{{ paragraph.title_id }}"
|
|
43
|
+
>
|
|
44
|
+
{{- paragraph.title -}}
|
|
45
|
+
</h3>
|
|
46
|
+
|
|
47
|
+
{{- paragraph.content -}}
|
|
48
|
+
{% endfor %}
|
|
49
|
+
{% endif %}
|
|
13
50
|
|
|
14
|
-
{%
|
|
51
|
+
{% if content_lists.main_title is not empty %}
|
|
52
|
+
<h3
|
|
53
|
+
class="fw-bold my-4"
|
|
54
|
+
{% if content_lists.main_title_id is not empty %}
|
|
55
|
+
id="{{ content_lists.main_title_id }}"
|
|
56
|
+
{% endif %}
|
|
57
|
+
>{{- content_lists.main_title -}}</h3>
|
|
58
|
+
{% endif %}
|
|
59
|
+
{% if content_lists.listing is defined and content_lists.listing is not empty %}
|
|
60
|
+
{% for lists in content_lists.listing %}
|
|
61
|
+
{% if lists.title is not empty %}
|
|
62
|
+
<h4 class="fw-bold mb-3">{{ lists.title }}</h4>
|
|
63
|
+
{% endif %}
|
|
64
|
+
{% for list in lists.content %}
|
|
65
|
+
{% include '@oe-bcl/bcl-description-list/description-list.html.twig' with list only %}
|
|
66
|
+
{% endfor %}
|
|
67
|
+
{% endfor %}
|
|
68
|
+
{% endif %}
|
|
15
69
|
|
|
16
|
-
{%
|
|
70
|
+
{% if second_paragraphs is defined and second_paragraphs is not empty %}
|
|
71
|
+
{% for paragraph in second_paragraphs %}
|
|
17
72
|
<h3
|
|
18
|
-
class="fw-bold mb-4 pt-
|
|
73
|
+
class="fw-bold mb-4 pt-2"
|
|
19
74
|
id="{{ paragraph.title_id }}"
|
|
20
75
|
>
|
|
21
|
-
{{ paragraph.title }}
|
|
76
|
+
{{- paragraph.title -}}
|
|
22
77
|
</h3>
|
|
78
|
+
{{- paragraph.content -}}
|
|
79
|
+
{% endfor %}
|
|
80
|
+
{% endif %}
|
|
81
|
+
|
|
82
|
+
{% if gallery.main_title is not empty %}
|
|
83
|
+
<h3
|
|
84
|
+
class="fw-bold my-4"
|
|
85
|
+
{% if gallery.main_title_id is not empty %}
|
|
86
|
+
id="{{ gallery.main_title_id }}"
|
|
87
|
+
{% endif %}
|
|
88
|
+
>{{- gallery.main_title -}}</h3>
|
|
89
|
+
{% endif %}
|
|
90
|
+
{% if gallery.listing is defined and gallery.listing is not empty %}
|
|
91
|
+
<div class="mt-3">
|
|
92
|
+
{% for showcase in gallery.listing %}
|
|
93
|
+
<div class="mb-2-5 pb-4">
|
|
94
|
+
{% if showcase.carousel %}
|
|
95
|
+
{% include '@oe-bcl/bcl-carousel/carousel.html.twig' with showcase only %}
|
|
96
|
+
{% else %}
|
|
97
|
+
{% include '@oe-bcl/bcl-featured-media/featured-media.html.twig' with showcase only %}
|
|
98
|
+
{% endif %}
|
|
99
|
+
</div>
|
|
100
|
+
{% endfor %}
|
|
101
|
+
</div>
|
|
102
|
+
{% endif %}
|
|
103
|
+
|
|
104
|
+
{% if social_block is not empty %}
|
|
105
|
+
{% block social_block %}
|
|
106
|
+
{{ social_buttons }}
|
|
107
|
+
{% include '@oe-bcl/bcl-button/button.html.twig' with button_social_modal only %}
|
|
108
|
+
{% include '@oe-bcl/bcl-modal/modal.html.twig' with social_modal only %}
|
|
109
|
+
{% endblock %}
|
|
110
|
+
{% endif %}
|
|
23
111
|
|
|
24
|
-
{{ paragraph.content }}
|
|
25
|
-
{% endfor %}
|
|
26
|
-
|
|
27
|
-
<h3
|
|
28
|
-
class="fw-bold mb-4 pt-2"
|
|
29
|
-
id="{{ contributors.main_title_id }}"
|
|
30
|
-
>
|
|
31
|
-
{{ contributors.main_title }}
|
|
32
|
-
</h3>
|
|
33
|
-
|
|
34
|
-
{% for contributor in contributors.listing %}
|
|
35
|
-
<h4 class="fw-bold mb-3">{{ contributor.title }}</h4>
|
|
36
|
-
|
|
37
|
-
{% include '@oe-bcl/bcl-description-list/description-list.html.twig' with contributor.list only %}
|
|
38
|
-
|
|
39
|
-
{% endfor %}
|
|
40
|
-
|
|
41
|
-
{% for achievement in achievements %}
|
|
42
|
-
<h3
|
|
43
|
-
class="fw-bold mb-4 pt-2"
|
|
44
|
-
id="{{ achievement.title_id }}"
|
|
45
|
-
>
|
|
46
|
-
{{ achievement.title }}
|
|
47
|
-
</h3>
|
|
48
|
-
{{ achievement.content }}
|
|
49
|
-
{% endfor %}
|
|
50
|
-
|
|
51
|
-
<h3
|
|
52
|
-
class="fw-bold mb-4 pt-2"
|
|
53
|
-
id="{{ gallery.title_id }}"
|
|
54
|
-
>
|
|
55
|
-
{{ gallery.title }}
|
|
56
|
-
</h3>
|
|
57
|
-
|
|
58
|
-
{% include '@oe-bcl/bcl-featured-media/featured-media.html.twig' with gallery.featured only %}
|
|
59
|
-
{% include '@oe-bcl/bcl-carousel/carousel.html.twig' with gallery.carousel only %}
|
|
60
112
|
{% endblock %}
|