@openeuropa/bcl-base-templates 0.23.0 → 0.24.1
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/content-type.html.twig +5 -0
- package/listing-page.html.twig +2 -0
- package/package.json +11 -11
package/content-type.html.twig
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
- header
|
|
17
17
|
- footer
|
|
18
18
|
- content
|
|
19
|
+
- content_row
|
|
19
20
|
- sidebar
|
|
20
21
|
- banner
|
|
21
22
|
- feedback
|
|
@@ -37,6 +38,7 @@
|
|
|
37
38
|
{% set _col_classes = {
|
|
38
39
|
left: [
|
|
39
40
|
'col-12',
|
|
41
|
+
'bcl-sidebar',
|
|
40
42
|
],
|
|
41
43
|
right: [
|
|
42
44
|
'col-12',
|
|
@@ -92,6 +94,9 @@
|
|
|
92
94
|
|
|
93
95
|
<div class="container mt-md-4-75 mt-4">
|
|
94
96
|
<div class="row">
|
|
97
|
+
{% block content_row %}
|
|
98
|
+
{{ content_row }}
|
|
99
|
+
{% endblock %}
|
|
95
100
|
{% if _with_sidebar %}
|
|
96
101
|
<div class="{{ _col_classes.left|join(' ') }}">
|
|
97
102
|
{% block sidebar %}{% endblock %}
|
package/listing-page.html.twig
CHANGED
|
@@ -23,7 +23,9 @@
|
|
|
23
23
|
{% set _title_attributes = _title_attributes ?: create_attribute() %}
|
|
24
24
|
|
|
25
25
|
{% block content_top %}
|
|
26
|
+
{% if filter_button %}
|
|
26
27
|
{% include '@oe-bcl/bcl-button/button.html.twig' with filter_button only %}
|
|
28
|
+
{% endif %}
|
|
27
29
|
<div class="row">
|
|
28
30
|
<div class="col-md-6 col-lg-8 align-self-center">
|
|
29
31
|
{% if _title is not empty %}
|
package/package.json
CHANGED
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
"name": "@openeuropa/bcl-base-templates",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.24.1",
|
|
6
6
|
"description": "OE - BCL base templates",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@openeuropa/bcl-badge": "^0.
|
|
12
|
-
"@openeuropa/bcl-button": "^0.
|
|
13
|
-
"@openeuropa/bcl-content-banner": "^0.
|
|
14
|
-
"@openeuropa/bcl-footer": "^0.
|
|
15
|
-
"@openeuropa/bcl-header": "^0.
|
|
16
|
-
"@openeuropa/bcl-listing": "^0.
|
|
17
|
-
"@openeuropa/bcl-offcanvas": "^0.
|
|
18
|
-
"@openeuropa/bcl-pagination": "^0.
|
|
19
|
-
"@openeuropa/bcl-select": "^0.
|
|
11
|
+
"@openeuropa/bcl-badge": "^0.24.1",
|
|
12
|
+
"@openeuropa/bcl-button": "^0.24.1",
|
|
13
|
+
"@openeuropa/bcl-content-banner": "^0.24.1",
|
|
14
|
+
"@openeuropa/bcl-footer": "^0.24.1",
|
|
15
|
+
"@openeuropa/bcl-header": "^0.24.1",
|
|
16
|
+
"@openeuropa/bcl-listing": "^0.24.1",
|
|
17
|
+
"@openeuropa/bcl-offcanvas": "^0.24.1",
|
|
18
|
+
"@openeuropa/bcl-pagination": "^0.24.1",
|
|
19
|
+
"@openeuropa/bcl-select": "^0.24.1"
|
|
20
20
|
},
|
|
21
21
|
"repository": {
|
|
22
22
|
"type": "git",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"design-system",
|
|
33
33
|
"twig"
|
|
34
34
|
],
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "3ebebdea0c76a5a8df03abbd13873956a1e4837a"
|
|
36
36
|
}
|