Skip to content

Commit ea431ee

Browse files
committed
[TASK] update config for boolean module, add dnd_area to global header settings
1 parent 372816d commit ea431ee

File tree

5 files changed

+24
-26
lines changed

5 files changed

+24
-26
lines changed
Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
[
2-
{
3-
"default": false,
4-
"display": "toggle",
5-
"display_width": null,
6-
"label": "",
7-
"locked": false,
8-
"name": "value",
9-
"required": false,
10-
"type": "boolean"
11-
}
12-
]
1+
[ {
2+
"id" : "boolean",
3+
"name" : "boolean",
4+
"display_width" : null,
5+
"label" : "",
6+
"required" : false,
7+
"locked" : false,
8+
"display" : "toggle",
9+
"type" : "boolean",
10+
"default" : false
11+
} ]
Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
{
2-
"global": false,
3-
"content_tags": [],
4-
"css_assets": [],
5-
"editable_contexts": [],
6-
"external_js": [],
7-
"host_template_types": [ "PAGE", "BLOG_LISTING", "BLOG_POST" ],
8-
"is_available_for_new_content": false,
9-
"js_assets": [],
10-
"other_assets": [],
11-
"smart_type": "NOT_SMART",
12-
"tags": [],
13-
"label": "",
14-
"icon" : "../../images/module-icons/button.svg"
15-
}
2+
"global" : false,
3+
"icon" : "../../images/module-icons/button.svg",
4+
"host_template_types" : [ "PAGE", "BLOG_LISTING", "BLOG_POST" ],
5+
"module_id" : 61709497542,
6+
"is_available_for_new_content" : false
7+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/* module css / no hubl variables */

theme/modules/n-boolean.module/module.js

Whitespace-only changes.

theme/templates/partials/global-header-settings.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@
44
-->
55

66
{% module "sticky_header" path="../../modules/n-boolean", label='Sticky header', value=false, export_to_template_context=True %}
7+
8+
{% dnd_area "global-header-settings-dndarea"
9+
label="Global header settings",
10+
class="global-header-settings global-partial"
11+
%}
12+
{% end_dnd_area %}

0 commit comments

Comments
 (0)