@openeuropa/bcl-theme-joinup 0.3821.202510100015 → 0.3880.202510091030
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/css/oe-bcl-joinup.css +33 -50
- package/css/oe-bcl-joinup.css.map +1 -1
- package/css/oe-bcl-joinup.min.css +1 -1
- package/css/oe-bcl-joinup.min.css.map +1 -1
- package/fonts/files/roboto-cyrillic-400-italic.woff +0 -0
- package/fonts/files/roboto-cyrillic-400-italic.woff2 +0 -0
- package/fonts/files/roboto-cyrillic-400-normal.woff +0 -0
- package/fonts/files/roboto-cyrillic-400-normal.woff2 +0 -0
- package/fonts/files/roboto-cyrillic-500-italic.woff +0 -0
- package/fonts/files/roboto-cyrillic-500-italic.woff2 +0 -0
- package/fonts/files/roboto-cyrillic-500-normal.woff +0 -0
- package/fonts/files/roboto-cyrillic-500-normal.woff2 +0 -0
- package/fonts/files/roboto-cyrillic-700-italic.woff +0 -0
- package/fonts/files/roboto-cyrillic-700-italic.woff2 +0 -0
- package/fonts/files/roboto-cyrillic-700-normal.woff +0 -0
- package/fonts/files/roboto-cyrillic-700-normal.woff2 +0 -0
- package/fonts/files/roboto-greek-400-italic.woff +0 -0
- package/fonts/files/roboto-greek-400-italic.woff2 +0 -0
- package/fonts/files/roboto-greek-400-normal.woff +0 -0
- package/fonts/files/roboto-greek-400-normal.woff2 +0 -0
- package/fonts/files/roboto-greek-500-italic.woff +0 -0
- package/fonts/files/roboto-greek-500-italic.woff2 +0 -0
- package/fonts/files/roboto-greek-500-normal.woff +0 -0
- package/fonts/files/roboto-greek-500-normal.woff2 +0 -0
- package/fonts/files/roboto-greek-700-italic.woff +0 -0
- package/fonts/files/roboto-greek-700-italic.woff2 +0 -0
- package/fonts/files/roboto-greek-700-normal.woff +0 -0
- package/fonts/files/roboto-greek-700-normal.woff2 +0 -0
- package/fonts/files/roboto-latin-400-italic.woff +0 -0
- package/fonts/files/roboto-latin-400-italic.woff2 +0 -0
- package/fonts/files/roboto-latin-400-normal.woff +0 -0
- package/fonts/files/roboto-latin-400-normal.woff2 +0 -0
- package/fonts/files/roboto-latin-500-italic.woff +0 -0
- package/fonts/files/roboto-latin-500-italic.woff2 +0 -0
- package/fonts/files/roboto-latin-500-normal.woff +0 -0
- package/fonts/files/roboto-latin-500-normal.woff2 +0 -0
- package/fonts/files/roboto-latin-700-italic.woff +0 -0
- package/fonts/files/roboto-latin-700-italic.woff2 +0 -0
- package/fonts/files/roboto-latin-700-normal.woff +0 -0
- package/fonts/files/roboto-latin-700-normal.woff2 +0 -0
- package/fonts/files/roboto-latin-ext-400-italic.woff +0 -0
- package/fonts/files/roboto-latin-ext-400-italic.woff2 +0 -0
- package/fonts/files/roboto-latin-ext-400-normal.woff +0 -0
- package/fonts/files/roboto-latin-ext-400-normal.woff2 +0 -0
- package/fonts/files/roboto-latin-ext-500-italic.woff +0 -0
- package/fonts/files/roboto-latin-ext-500-italic.woff2 +0 -0
- package/fonts/files/roboto-latin-ext-500-normal.woff +0 -0
- package/fonts/files/roboto-latin-ext-500-normal.woff2 +0 -0
- package/fonts/files/roboto-latin-ext-700-italic.woff +0 -0
- package/fonts/files/roboto-latin-ext-700-italic.woff2 +0 -0
- package/fonts/files/roboto-latin-ext-700-normal.woff +0 -0
- package/fonts/files/roboto-latin-ext-700-normal.woff2 +0 -0
- package/icons/bcl-default-icons.svg +1 -1
- package/icons/bootstrap-icons.svg +1 -1
- package/js/oe-bcl-joinup.bundle.js +5 -2
- package/js/oe-bcl-joinup.bundle.js.map +1 -1
- package/js/oe-bcl-joinup.bundle.min.js +1 -1
- package/js/oe-bcl-joinup.bundle.min.js.map +1 -1
- package/js/oe-bcl-joinup.esm.js +5 -2
- package/js/oe-bcl-joinup.esm.js.map +1 -1
- package/js/oe-bcl-joinup.esm.min.js +1 -1
- package/js/oe-bcl-joinup.esm.min.js.map +1 -1
- package/js/oe-bcl-joinup.umd.js +5 -2
- package/js/oe-bcl-joinup.umd.js.map +1 -1
- package/js/oe-bcl-joinup.umd.min.js +1 -1
- package/js/oe-bcl-joinup.umd.min.js.map +1 -1
- package/package.json +12 -12
- package/templates/bcl-base-templates/listing-page.html.twig +19 -17
- package/templates/bcl-contact-form/contact-form.html.twig +3 -3
- package/templates/bcl-content-banner/content-banner.html.twig +0 -3
- package/templates/bcl-dropdown/dropdown.html.twig +7 -12
- package/templates/bcl-event/event.html.twig +5 -5
- package/templates/bcl-glossary/glossary-detail.html.twig +5 -4
- package/templates/bcl-glossary/glossary-listing.html.twig +5 -5
- package/templates/bcl-group/group-landing.html.twig +5 -5
- package/templates/bcl-group/group.html.twig +3 -3
- package/templates/bcl-landing-page/landing-page.html.twig +8 -5
- package/templates/bcl-modal/modal.html.twig +16 -4
- package/templates/bcl-navigation/navigation.html.twig +0 -8
- package/templates/bcl-page/page.html.twig +5 -5
- package/templates/bcl-person/person.html.twig +5 -5
- package/templates/bcl-project/project.html.twig +7 -7
- package/templates/bcl-project-status/project-contributions.html.twig +1 -1
- package/templates/bcl-search/search.html.twig +3 -3
- package/templates/bcl-subscription/subscription.html.twig +5 -5
- package/templates/bcl-toast/toasts.html.twig +13 -4
- package/templates/bcl-user/user-terms.html.twig +3 -3
- package/templates/bcl-user/user.html.twig +3 -3
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@openeuropa/bcl-theme-joinup",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.3880.202510091030",
|
|
6
6
|
"description": "OE - BCL theme joinup",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"align-templates": "lerna --scope \"@openeuropa/bcl-twig-templates\" run prepublish",
|
|
@@ -20,23 +20,23 @@
|
|
|
20
20
|
"update:templates": "npm-run-all -s align-templates build:copy"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@babel/core": "7.
|
|
24
|
-
"@babel/plugin-transform-runtime": "7.
|
|
25
|
-
"@babel/preset-env": "7.
|
|
23
|
+
"@babel/core": "7.27.4",
|
|
24
|
+
"@babel/plugin-transform-runtime": "7.27.4",
|
|
25
|
+
"@babel/preset-env": "7.27.2",
|
|
26
26
|
"@babel/preset-react": "7.27.1",
|
|
27
27
|
"@ecl/resources-ec-logo": "3.7.1",
|
|
28
28
|
"@ecl/resources-eu-logo": "3.7.1",
|
|
29
29
|
"@ecl/resources-flag-icons": "3.7.1",
|
|
30
|
-
"@fontsource/roboto": "5.
|
|
31
|
-
"@openeuropa/bcl-bootstrap": "^0.
|
|
32
|
-
"@openeuropa/bcl-builder": "^0.
|
|
33
|
-
"@openeuropa/bcl-theme-default": "^0.
|
|
34
|
-
"@openeuropa/bcl-twig-templates": "^0.
|
|
30
|
+
"@fontsource/roboto": "5.1.1",
|
|
31
|
+
"@openeuropa/bcl-bootstrap": "^0.3880.202510091030",
|
|
32
|
+
"@openeuropa/bcl-builder": "^0.3880.202510091030",
|
|
33
|
+
"@openeuropa/bcl-theme-default": "^0.3880.202510091030",
|
|
34
|
+
"@openeuropa/bcl-twig-templates": "^0.3880.202510091030",
|
|
35
35
|
"@rollup/plugin-replace": "6.0.2",
|
|
36
36
|
"copyfiles": "2.4.1",
|
|
37
|
-
"cross-env": "
|
|
37
|
+
"cross-env": "7.0.3",
|
|
38
38
|
"flag-icons": "6.9.2",
|
|
39
|
-
"glob": "11.0.
|
|
39
|
+
"glob": "11.0.1",
|
|
40
40
|
"npm-run-all": "4.1.5",
|
|
41
41
|
"slim-select": "1.27.1"
|
|
42
42
|
},
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"design-system",
|
|
58
58
|
"twig"
|
|
59
59
|
],
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "eb2325d947a08af67abe26062ee1229a008581af"
|
|
61
61
|
}
|
|
@@ -8,16 +8,20 @@
|
|
|
8
8
|
- pagination (object) (default: {})
|
|
9
9
|
- sidebar (object) (default: '')
|
|
10
10
|
#}
|
|
11
|
-
{% extends "@oe-bcl/bcl-base-templates/content-type.html.twig" -%}
|
|
12
11
|
|
|
12
|
+
{% extends "@oe-bcl/bcl-base-templates/content-type.html.twig" %}
|
|
13
|
+
|
|
14
|
+
{% set _title = title|default('') %}
|
|
15
|
+
{% set _title_tag = title_tag|default('h2') %}
|
|
16
|
+
{% set _title_link = title_link|default({}) %}
|
|
17
|
+
{% set _title_attributes = title_attributes ?: create_attribute() %}
|
|
13
18
|
{% set _listing = listing|default({}) %}
|
|
19
|
+
{% set _pagination = pagination|default({}) %}
|
|
20
|
+
{% set _sidebar = sidebar|default({}) %}
|
|
21
|
+
|
|
22
|
+
{% set _title_attributes = _title_attributes ?: create_attribute() %}
|
|
14
23
|
|
|
15
|
-
{
|
|
16
|
-
{% set _title = title|default('') %}
|
|
17
|
-
{% set _title_tag = title_tag|default('h2') %}
|
|
18
|
-
{% set _title_link = title_link|default({}) %}
|
|
19
|
-
{% set _title_attributes = title_attributes ?: create_attribute() %}
|
|
20
|
-
{% set _title_attributes = _title_attributes ?: create_attribute() %}
|
|
24
|
+
{% block content_top %}
|
|
21
25
|
{% if filter_button %}
|
|
22
26
|
{% include '@oe-bcl/bcl-button/button.html.twig' with filter_button only %}
|
|
23
27
|
{% endif %}
|
|
@@ -25,7 +29,7 @@
|
|
|
25
29
|
<div class="col-md-6 col-lg-8 align-self-center">
|
|
26
30
|
{% if _title is not empty %}
|
|
27
31
|
{% include '@oe-bcl/bcl-heading/heading.html.twig' with {
|
|
28
|
-
title: _title ~ ' (' ~
|
|
32
|
+
title: _title ~ ' (' ~ listing.items.length ~ ')',
|
|
29
33
|
title_tag: _title_tag,
|
|
30
34
|
title_link: _title_link,
|
|
31
35
|
attributes: _title_attributes.addClass(['mb-0', 'text-capitalize']),
|
|
@@ -50,23 +54,21 @@
|
|
|
50
54
|
</div>
|
|
51
55
|
</div>
|
|
52
56
|
<hr class="d-none d-md-block mb-4-75"/>
|
|
53
|
-
{
|
|
57
|
+
{% endblock %}
|
|
54
58
|
|
|
55
|
-
{
|
|
59
|
+
{% block content %}
|
|
56
60
|
{% if _listing is not empty %}
|
|
57
61
|
{% include '@oe-bcl/bcl-listing/listing.html.twig' with _listing only %}
|
|
58
62
|
{% endif %}
|
|
59
|
-
{
|
|
63
|
+
{% endblock %}
|
|
60
64
|
|
|
61
|
-
{
|
|
62
|
-
{% set _pagination = pagination|default({}) %}
|
|
65
|
+
{% block content_bottom %}
|
|
63
66
|
{% if _pagination is not empty %}
|
|
64
67
|
<hr class="d-none d-md-block mt-4-5">
|
|
65
68
|
{% include '@oe-bcl/bcl-pagination/pagination.html.twig' with _pagination only %}
|
|
66
69
|
{% endif %}
|
|
67
|
-
{
|
|
70
|
+
{% endblock %}
|
|
68
71
|
|
|
69
|
-
{
|
|
70
|
-
{% set _sidebar = sidebar|default({}) %}
|
|
72
|
+
{% block sidebar %}
|
|
71
73
|
{% include '@oe-bcl/bcl-base-templates/sidebar-search.html.twig' with _sidebar only %}
|
|
72
|
-
{
|
|
74
|
+
{% endblock %}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
{% extends '@oe-bcl/bcl-base-templates/content-type.html.twig'
|
|
1
|
+
{% extends '@oe-bcl/bcl-base-templates/content-type.html.twig' %}
|
|
2
2
|
|
|
3
|
-
{
|
|
3
|
+
{% block content %}
|
|
4
4
|
{% include '@oe-bcl/bcl-form/form.html.twig' with form only %}
|
|
5
|
-
{
|
|
5
|
+
{% endblock %}
|
|
@@ -92,9 +92,6 @@
|
|
|
92
92
|
{% if _date is not empty %}
|
|
93
93
|
{% set _left_col_classes = 'bcl-card-start-col' %}
|
|
94
94
|
{% set _right_col_classes = 'col-12 col-md col-xxl-9' %}
|
|
95
|
-
{% if _image is empty %}
|
|
96
|
-
{% set _body_classes = 'pt-4 pt-md-0 px-0 px-md-1-5 pb-0' %}
|
|
97
|
-
{% endif %}
|
|
98
95
|
{% endif %}
|
|
99
96
|
{% if _image is empty and _date is empty %}
|
|
100
97
|
{% set _right_col_classes = 'col-lg-10 col-xl-9 col-xxl-8' %}
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
{% set _alignment = alignment|default('') %}
|
|
43
43
|
{% set _dark = dark ?? false %}
|
|
44
44
|
{% set _remove_wrapper = remove_wrapper ?? false %}
|
|
45
|
-
{% set _inside_navigation = inside_navigation ?? false %}
|
|
46
45
|
{% set _items = items|default([]) %}
|
|
47
46
|
|
|
48
47
|
{% set _class = 'dropdown' %}
|
|
@@ -76,18 +75,14 @@
|
|
|
76
75
|
.setAttribute('id', _id)
|
|
77
76
|
}) %}
|
|
78
77
|
|
|
79
|
-
{% if
|
|
80
|
-
{%
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}) %}
|
|
84
|
-
{% else %}
|
|
85
|
-
{% set _trigger = _trigger|merge({
|
|
86
|
-
attributes: _trigger.attributes.setAttribute('autocomplete', 'off')
|
|
87
|
-
}) %}
|
|
88
|
-
{% endif %}
|
|
78
|
+
{% if _link %}
|
|
79
|
+
{% set _trigger = _trigger|merge({
|
|
80
|
+
attributes: _trigger.attributes.setAttribute('role', 'button')
|
|
81
|
+
}) %}
|
|
89
82
|
{% else %}
|
|
90
|
-
{% set
|
|
83
|
+
{% set _trigger = _trigger|merge({
|
|
84
|
+
attributes: _trigger.attributes.setAttribute('autocomplete', 'off')
|
|
85
|
+
}) %}
|
|
91
86
|
{% endif %}
|
|
92
87
|
|
|
93
88
|
{% if not _remove_wrapper %}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
{% extends '@oe-bcl/bcl-base-templates/content-type.html.twig'
|
|
1
|
+
{% extends '@oe-bcl/bcl-base-templates/content-type.html.twig' %}
|
|
2
2
|
|
|
3
|
-
{
|
|
3
|
+
{% block sidebar %}
|
|
4
4
|
{% include '@oe-bcl/bcl-inpage-navigation/inpage-navigation.html.twig' with sidebar only %}
|
|
5
|
-
{
|
|
5
|
+
{% endblock %}
|
|
6
6
|
|
|
7
|
-
{
|
|
7
|
+
{% block content %}
|
|
8
8
|
{% include '@oe-bcl/bcl-description-list/description-list.html.twig' with details_list only %}
|
|
9
9
|
|
|
10
10
|
<h2 id="item-1" class="my-4">Description</h2>
|
|
@@ -21,4 +21,4 @@
|
|
|
21
21
|
<h2 id="item-2" class="my-4">Related documents</h2>
|
|
22
22
|
{% include '@oe-bcl/bcl-file/file.html.twig' with files[0] only %}
|
|
23
23
|
{% include '@oe-bcl/bcl-file/file.html.twig' with files[1] only %}
|
|
24
|
-
{
|
|
24
|
+
{% endblock %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{% extends '@oe-bcl/bcl-base-templates/content-type.html.twig'
|
|
1
|
+
{% extends '@oe-bcl/bcl-base-templates/content-type.html.twig' %}
|
|
2
2
|
|
|
3
|
-
{
|
|
3
|
+
{% block content %}
|
|
4
4
|
{% include '@oe-bcl/bcl-heading/heading.html.twig' with {
|
|
5
5
|
title: 'Description',
|
|
6
6
|
title_tag: 'h2',
|
|
@@ -38,5 +38,6 @@
|
|
|
38
38
|
<div {{ file_classes ? 'class="' ~ file_classes ~ '"' }}>
|
|
39
39
|
{% include '@oe-bcl/bcl-file/file.html.twig' with file only %}
|
|
40
40
|
</div>
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
{% endfor %}
|
|
42
|
+
|
|
43
|
+
{% endblock %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{% extends '@oe-bcl/bcl-base-templates/listing-page.html.twig'
|
|
1
|
+
{% extends '@oe-bcl/bcl-base-templates/listing-page.html.twig' %}
|
|
2
2
|
|
|
3
|
-
{
|
|
3
|
+
{% block content_row %}
|
|
4
4
|
{% include '@oe-bcl/bcl-pagination/pagination.html.twig' with glossary only %}
|
|
5
5
|
<div class="col-12">
|
|
6
6
|
<div class="d-md-flex justify-content-end mb-md-4-75 align-items-center border-bottom-md border-top-md border-gray-300 py-3">
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
{% include '@oe-bcl/bcl-select/select.html.twig' with itemsPerPage only %}
|
|
9
9
|
</div>
|
|
10
10
|
</div>
|
|
11
|
-
{
|
|
11
|
+
{% endblock %}
|
|
12
12
|
|
|
13
|
-
{
|
|
13
|
+
{% block content_top %}
|
|
14
14
|
{% include '@oe-bcl/bcl-heading/heading.html.twig' with {
|
|
15
15
|
title: 'Starting with "A" (48)',
|
|
16
16
|
title_tag: 'h2',
|
|
17
17
|
} only %}
|
|
18
18
|
|
|
19
|
-
{
|
|
19
|
+
{% endblock %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{% extends "@oe-bcl/bcl-base-templates/content-type.html.twig"
|
|
1
|
+
{% extends "@oe-bcl/bcl-base-templates/content-type.html.twig" %}
|
|
2
2
|
|
|
3
|
-
{
|
|
3
|
+
{% block banner %}
|
|
4
4
|
<div class="container">
|
|
5
5
|
{% if banner is not empty %}
|
|
6
6
|
<div class="mt-4 mt-md-5">
|
|
@@ -70,9 +70,9 @@
|
|
|
70
70
|
</div>
|
|
71
71
|
{% endif %}
|
|
72
72
|
</div>
|
|
73
|
-
{
|
|
73
|
+
{% endblock %}
|
|
74
74
|
|
|
75
|
-
{
|
|
75
|
+
{% block content %}
|
|
76
76
|
{% if recent is not empty and members is not empty %}
|
|
77
77
|
<div class="row mt-3">
|
|
78
78
|
<div class="col-md-8">
|
|
@@ -98,4 +98,4 @@
|
|
|
98
98
|
{% include '@oe-bcl/bcl-listing/listing.html.twig' with contributions.listing only %}
|
|
99
99
|
{% endif %}
|
|
100
100
|
{% endif %}
|
|
101
|
-
{
|
|
101
|
+
{% endblock %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{% extends "@oe-bcl/bcl-base-templates/listing-page.html.twig"
|
|
1
|
+
{% extends "@oe-bcl/bcl-base-templates/listing-page.html.twig" %}
|
|
2
2
|
|
|
3
|
-
{
|
|
3
|
+
{% block banner %}
|
|
4
4
|
<div class="container mt-4 mt-md-5">
|
|
5
5
|
<div class="col-xxl-11">
|
|
6
6
|
<div class="p-md-3-5 pt-3 bg-lighter d-md-flex n-mx-container">
|
|
@@ -24,4 +24,4 @@
|
|
|
24
24
|
{% endif %}
|
|
25
25
|
</div>
|
|
26
26
|
</div>
|
|
27
|
-
{
|
|
27
|
+
{% endblock %}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
{% extends "@oe-bcl/bcl-base-templates/content-type.html.twig"
|
|
1
|
+
{% extends "@oe-bcl/bcl-base-templates/content-type.html.twig" %}
|
|
2
2
|
|
|
3
|
-
{
|
|
3
|
+
{% block banner %}
|
|
4
4
|
{% if banner is defined %}
|
|
5
5
|
{% include '@oe-bcl/bcl-banner/banner.html.twig' with banner only %}
|
|
6
6
|
{% endif %}
|
|
7
|
-
{
|
|
8
|
-
|
|
7
|
+
{% endblock %}
|
|
8
|
+
|
|
9
|
+
{% block content %}
|
|
10
|
+
|
|
9
11
|
<div class="container">
|
|
10
12
|
{% if featured_section is defined %}
|
|
11
13
|
<div class="my-4">
|
|
@@ -53,4 +55,5 @@
|
|
|
53
55
|
</div>
|
|
54
56
|
{% endif %}
|
|
55
57
|
</div>
|
|
56
|
-
|
|
58
|
+
|
|
59
|
+
{% endblock %}
|
|
@@ -14,7 +14,10 @@
|
|
|
14
14
|
- body (block) (default: '')
|
|
15
15
|
- footer (block) (default: '')
|
|
16
16
|
- attributes (drupal attrs)
|
|
17
|
-
|
|
17
|
+
- header_attributes (drupal attrs)
|
|
18
|
+
- body_attributes (drupal attrs)
|
|
19
|
+
- footer_attributes (drupal attrs)
|
|
20
|
+
|
|
18
21
|
Blocks
|
|
19
22
|
- header
|
|
20
23
|
- messages
|
|
@@ -29,9 +32,12 @@
|
|
|
29
32
|
{% set _verticaly_centered = verticaly_centered ?? false %}
|
|
30
33
|
{% set _scrollable = scrollable ?? false %}
|
|
31
34
|
{% set _header = header|default('') %}
|
|
35
|
+
{% set _header_attributes = header_attributes ?: create_attribute() %}
|
|
32
36
|
{% set _messages = messages|default('') %}
|
|
33
37
|
{% set _body = body|default('') %}
|
|
38
|
+
{% set _body_attributes = body_attributes ?: create_attribute() %}
|
|
34
39
|
{% set _footer = footer|default('') %}
|
|
40
|
+
{% set _footer_attributes = footer_attributes ?: create_attribute() %}
|
|
35
41
|
|
|
36
42
|
{% set _classes = ['modal', 'fade'] %}
|
|
37
43
|
|
|
@@ -62,16 +68,22 @@
|
|
|
62
68
|
>
|
|
63
69
|
<div class="modal-content">
|
|
64
70
|
{% if header is not empty %}
|
|
65
|
-
<div
|
|
71
|
+
<div
|
|
72
|
+
{{- _header_attributes.addClass(['modal-header']) -}}
|
|
73
|
+
>
|
|
66
74
|
{%- block header _header -%}
|
|
67
75
|
</div>
|
|
68
76
|
{% endif %}
|
|
69
77
|
{%- block messages _messages -%}
|
|
70
|
-
<div
|
|
78
|
+
<div
|
|
79
|
+
{{- _body_attributes.addClass(['modal-body']) -}}
|
|
80
|
+
>
|
|
71
81
|
{%- block body _body -%}
|
|
72
82
|
</div>
|
|
73
83
|
{% if footer is not empty %}
|
|
74
|
-
<div
|
|
84
|
+
<div
|
|
85
|
+
{{- _footer_attributes.addClass(['modal-footer']) -}}
|
|
86
|
+
>
|
|
75
87
|
{%- block footer _footer -%}
|
|
76
88
|
</div>
|
|
77
89
|
{% endif %}
|
|
@@ -121,14 +121,6 @@
|
|
|
121
121
|
%}
|
|
122
122
|
{% endif %}
|
|
123
123
|
{% if _item.dropdown is defined %}
|
|
124
|
-
{% if _tabs %}
|
|
125
|
-
{% set _item = _item|merge({
|
|
126
|
-
inside_navigation: true,
|
|
127
|
-
trigger: _item.trigger|merge({
|
|
128
|
-
attributes: _item.trigger.attributes.setAttribute("role", "tab"),
|
|
129
|
-
}),
|
|
130
|
-
}) %}
|
|
131
|
-
{% endif %}
|
|
132
124
|
{% include '@oe-bcl/bcl-dropdown/dropdown.html.twig' with _item only %}
|
|
133
125
|
{% elseif _item.button is defined %}
|
|
134
126
|
{% include '@oe-bcl/bcl-button/button.html.twig' with _item only %}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
{% extends '@oe-bcl/bcl-base-templates/content-type.html.twig'
|
|
1
|
+
{% extends '@oe-bcl/bcl-base-templates/content-type.html.twig' %}
|
|
2
2
|
|
|
3
|
-
{
|
|
3
|
+
{% block sidebar %}
|
|
4
4
|
{% include '@oe-bcl/bcl-inpage-navigation/inpage-navigation.html.twig' with sidebar only %}
|
|
5
|
-
{
|
|
5
|
+
{% endblock %}
|
|
6
6
|
|
|
7
|
-
{
|
|
7
|
+
{% block content %}
|
|
8
8
|
<p id="content">{{ get_dummy_text(6) }}
|
|
9
9
|
</p>
|
|
10
10
|
<h2 id="item-1" class="my-4">Section 1</h2>
|
|
@@ -42,4 +42,4 @@
|
|
|
42
42
|
|
|
43
43
|
{% include '@oe-bcl/bcl-file/file.html.twig' with files[0] only %}
|
|
44
44
|
{% include '@oe-bcl/bcl-file/file.html.twig' with files[1] only %}
|
|
45
|
-
{
|
|
45
|
+
{% endblock %}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
{% extends '@oe-bcl/bcl-base-templates/content-type.html.twig'
|
|
1
|
+
{% extends '@oe-bcl/bcl-base-templates/content-type.html.twig' %}
|
|
2
2
|
|
|
3
|
-
{
|
|
3
|
+
{% block sidebar %}
|
|
4
4
|
{% include '@oe-bcl/bcl-inpage-navigation/inpage-navigation.html.twig' with sidebar only %}
|
|
5
|
-
{
|
|
5
|
+
{% endblock %}
|
|
6
6
|
|
|
7
|
-
{
|
|
7
|
+
{% block content %}
|
|
8
8
|
{% if information.main_title is not empty %}
|
|
9
9
|
<h2
|
|
10
10
|
class="mb-4"
|
|
@@ -26,4 +26,4 @@
|
|
|
26
26
|
{% include '@oe-bcl/bcl-file/file.html.twig' with file only %}
|
|
27
27
|
{% endfor %}
|
|
28
28
|
{% endif %}
|
|
29
|
-
{
|
|
29
|
+
{% endblock %}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
{% extends '@oe-bcl/bcl-base-templates/content-type.html.twig'
|
|
1
|
+
{% extends '@oe-bcl/bcl-base-templates/content-type.html.twig' %}
|
|
2
2
|
|
|
3
|
-
{
|
|
3
|
+
{% block sidebar %}
|
|
4
4
|
{% include '@oe-bcl/bcl-inpage-navigation/inpage-navigation.html.twig' with sidebar only %}
|
|
5
|
-
{
|
|
5
|
+
{% endblock %}
|
|
6
6
|
|
|
7
|
-
{
|
|
7
|
+
{% block content %}
|
|
8
8
|
{% if project_status is not empty %}
|
|
9
9
|
{% if project_status_title is not empty %}
|
|
10
10
|
{% set _project_title_attributes = create_attribute().addClass(['mb-4']) %}
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
{% endif %}
|
|
63
63
|
|
|
64
64
|
{% if social_block is not empty %}
|
|
65
|
-
{
|
|
65
|
+
{% block social_block %}
|
|
66
66
|
{{ social_buttons }}
|
|
67
67
|
{% include '@oe-bcl/bcl-button/button.html.twig' with button_social_modal only %}
|
|
68
68
|
{% include '@oe-bcl/bcl-modal/modal.html.twig' with social_modal only %}
|
|
69
|
-
{
|
|
69
|
+
{% endblock %}
|
|
70
70
|
{% endif %}
|
|
71
71
|
|
|
72
|
-
{
|
|
72
|
+
{% endblock %}
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<div {{ attributes }}>
|
|
29
29
|
<div class="row">
|
|
30
30
|
|
|
31
|
-
{% if _chart %}
|
|
31
|
+
{% if _chart is not empty %}
|
|
32
32
|
<div class="bcl-project-contributions-chart col-5 col-md-3">
|
|
33
33
|
{% block project_status_contrib_chart %}
|
|
34
34
|
<div class="circular-progress" data-percentage="{{ _corporate_contributions }}">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{% extends "@oe-bcl/bcl-base-templates/listing-page.html.twig"
|
|
1
|
+
{% extends "@oe-bcl/bcl-base-templates/listing-page.html.twig" %}
|
|
2
2
|
|
|
3
|
-
{
|
|
3
|
+
{% block banner %}
|
|
4
4
|
{% if banner.search_bar is defined %}
|
|
5
5
|
<div class="bg-lighter pt-3 pb-4 pb-lg-3">
|
|
6
6
|
<div class="container">
|
|
@@ -19,4 +19,4 @@
|
|
|
19
19
|
</div>
|
|
20
20
|
</div>
|
|
21
21
|
{% endif %}
|
|
22
|
-
{
|
|
22
|
+
{% endblock %}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
{% extends '@oe-bcl/bcl-base-templates/content-type.html.twig'
|
|
1
|
+
{% extends '@oe-bcl/bcl-base-templates/content-type.html.twig' %}
|
|
2
2
|
|
|
3
|
-
{
|
|
3
|
+
{% block sidebar %}
|
|
4
4
|
{% include '@oe-bcl/bcl-inpage-navigation/inpage-navigation.html.twig' with sidebar only %}
|
|
5
|
-
{
|
|
5
|
+
{% endblock %}
|
|
6
6
|
|
|
7
|
-
{
|
|
7
|
+
{% block content_bottom %}
|
|
8
8
|
{% include '@oe-bcl/bcl-subscription-block/subscription-block.html.twig' with subscription only %}
|
|
9
9
|
{% include '@oe-bcl/bcl-subscription/subscription-modal.html.twig' with modal only %}
|
|
10
|
-
{
|
|
10
|
+
{% endblock %}
|
|
@@ -10,6 +10,11 @@
|
|
|
10
10
|
- toasts (object[]) format: [
|
|
11
11
|
{
|
|
12
12
|
- body (string) (default: '')
|
|
13
|
+
- body_attributes (drupal attrs)
|
|
14
|
+
- header (string) (default: '')
|
|
15
|
+
- header_attributes (drupal attrs)
|
|
16
|
+
- button_attributes (drupal attrs)
|
|
17
|
+
- custom_content (string) (default: '')
|
|
13
18
|
- role (string) (default: 'alert')
|
|
14
19
|
- with_close (boolean) (default: true)
|
|
15
20
|
- autohide (boolean) (default: false)
|
|
@@ -66,6 +71,9 @@
|
|
|
66
71
|
{% set _with_body_wrapper = _toast.with_body_wrapper ?? false %}
|
|
67
72
|
{% set _body_wrapper_classes = _toast.body_wrapper_classes|default('') %}
|
|
68
73
|
{% set _toast_attributes = _toast.attributes ?: create_attribute() %}
|
|
74
|
+
{% set _body_attributes = _toast.body_attributes ?: create_attribute() %}
|
|
75
|
+
{% set _header_attributes = _toast.header_attributes ?: create_attribute() %}
|
|
76
|
+
{% set _button_attributes = _toast.button_attributes ?: create_attribute() %}
|
|
69
77
|
{% set _toast_attributes = _toast_attributes.addClass(_classes).setAttribute('aria-atomic', 'true') %}
|
|
70
78
|
{% if _aria_live is not empty %}
|
|
71
79
|
{% set _toast_attributes = _toast_attributes.setAttribute('aria-live', _aria_live) %}
|
|
@@ -82,16 +90,16 @@
|
|
|
82
90
|
{% if _with_close or
|
|
83
91
|
(_toast.header is defined and _toast.header is not empty)
|
|
84
92
|
%}
|
|
85
|
-
<div
|
|
93
|
+
<div{{ _header_attributes.addClass(['toast-header']) }}>
|
|
86
94
|
{{- _toast.header|default('') -}}
|
|
87
95
|
{% if _with_close %}
|
|
88
|
-
{% set
|
|
96
|
+
{% set _button_attributes = _button_attributes
|
|
89
97
|
.addClass(['btn-close'])
|
|
90
98
|
.setAttribute('aria-label', 'close')
|
|
91
99
|
.setAttribute('data-bs-dismiss', 'toast')
|
|
92
100
|
%}
|
|
93
101
|
{%- include '@oe-bcl/bcl-button/button.html.twig' with {
|
|
94
|
-
attributes:
|
|
102
|
+
attributes: _button_attributes,
|
|
95
103
|
clean_class: true
|
|
96
104
|
} only -%}
|
|
97
105
|
{% endif %}
|
|
@@ -104,12 +112,13 @@
|
|
|
104
112
|
{% endif %}
|
|
105
113
|
>
|
|
106
114
|
{% endif %}
|
|
107
|
-
<div
|
|
115
|
+
<div{{ _body_attributes.addClass(['toast-body']) }}>
|
|
108
116
|
{{- _body -}}
|
|
109
117
|
</div>
|
|
110
118
|
{% if _with_body_wrapper %}
|
|
111
119
|
</div>
|
|
112
120
|
{% endif %}
|
|
121
|
+
{{- _toast.custom_content|default('') -}}
|
|
113
122
|
</div>
|
|
114
123
|
{% endfor %}
|
|
115
124
|
{% endif %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{% extends "@oe-bcl/bcl-base-templates/content-type.html.twig"
|
|
1
|
+
{% extends "@oe-bcl/bcl-base-templates/content-type.html.twig" %}
|
|
2
2
|
|
|
3
|
-
{
|
|
3
|
+
{% block content %}
|
|
4
4
|
{{ get_dummy_text(4, true) }}
|
|
5
5
|
<ul class="mb-4-5">
|
|
6
6
|
<li>{{ get_dummy_text() }}</li>
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
<li>{{ get_dummy_text() }}</li>
|
|
9
9
|
</ul>
|
|
10
10
|
{% include '@oe-bcl/bcl-form/form.html.twig' with terms_form only %}
|
|
11
|
-
{
|
|
11
|
+
{% endblock %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{% extends "@oe-bcl/bcl-base-templates/content-type.html.twig"
|
|
1
|
+
{% extends "@oe-bcl/bcl-base-templates/content-type.html.twig" %}
|
|
2
2
|
|
|
3
|
-
{
|
|
3
|
+
{% block content %}
|
|
4
4
|
{% include "@oe-bcl/bcl-navigation/navigation.html.twig" with navigation only %}
|
|
5
5
|
<div class="tab-content">
|
|
6
6
|
<div class="tab-pane fade show active" id="view" role="tabpanel" aria-labelledby="view-tab">
|
|
@@ -134,4 +134,4 @@
|
|
|
134
134
|
{% include '@oe-bcl/bcl-form/form.html.twig' with cancel.form only %}
|
|
135
135
|
</div>
|
|
136
136
|
</div>
|
|
137
|
-
{
|
|
137
|
+
{% endblock %}
|