Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
9e8b1d5e
Commit
9e8b1d5e
authored
Apr 08, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
data: made categories dynamic
parent
046ad22c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
30 deletions
+26
-30
data/ui_panel_detail_search.json
data/ui_panel_detail_search.json
+26
-30
No files found.
data/ui_panel_detail_search.json
View file @
9e8b1d5e
...
...
@@ -16,11 +16,7 @@
"type"
:
"a"
,
"direct"
:
{
"href"
:
"#"
,
"className"
:
"panel-close ui-icon-remove ui-btn ui-btn-icon-notext ui-shadow ui-corner-all"
},
"attributes"
:
{
"data-enhanced"
:
true
,
"data-rel"
:
"close"
"className"
:
"ui-panel-close ui-icon-remove ui-btn ui-btn-icon-notext ui-shadow ui-corner-all"
},
"logic"
:
{
"text"
:
"Close"
}
}]
...
...
@@ -89,33 +85,33 @@
"attributes"
:
{
"data-enhanced"
:
"true"
,
"data-inset"
:
false
,
"data-i18n"
:
"[placeholder]global_dict.filter"
,
"placeholder"
:
"Filter"
,
"data-icon"
:
"search"
,
"data-action-btn"
:
"true"
,
"data-type"
:
"search"
,
"type"
:
"search"
},
"logic"
:{
"clear"
:
"true"
,
"action"
:
"search"
,
"add_label"
:
false
}
},
{
"generate"
:
"widget"
,
"type"
:
"listview"
,
"portal_type_source"
:
"Portal Category"
,
"portal_type_title"
:
"category"
,
"portal_type_fields"
:
"category_fieldlist"
,
"initial_query"
:
{
"query"
:
"reference: 'product_category'"
,
"include_docs"
:
true
,
"select_list"
:
[
"title"
,
"title_i18n"
]},
"property_dict"
:
{
"theme"
:
"slapos-white"
,
"map_children"
:
"listItem"
,
"filter"
:
true
,
"input"
:
"#select_category"
"check"
:
true
},
"children"
:
[
{
"type"
:
"item"
,
"href"
:
"#products/categories/suits"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Jumpsuits"
,
"text_i18n"
:
"global_dict.suits"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/sets"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Sets"
,
"text_i18n"
:
"global_dict.set"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/swimsuits"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Swimsuits"
,
"text_i18n"
:
"global_dict.swimsuit"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/dresses"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Dresses"
,
"text_i18n"
:
"global_dict.dress"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/jackets"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Jackets/Coats"
,
"text_i18n"
:
"global_dict.jacket_coat"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/knitwear"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Knitwear"
,
"text_i18n"
:
"global_dict.knitwear"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/shirts"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Shirts"
,
"text_i18n"
:
"global_dict.shirt"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/skirts"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Skirts"
,
"text_i18n"
:
"global_dict.skirt"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/tops"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Tops"
,
"text_i18n"
:
"global_dict.top"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/trousers"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Trousers"
,
"text_i18n"
:
"global_dict.trouser"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/tshirt"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"T-Shirts"
,
"text_i18n"
:
"global_dict.tshirt"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/belts"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Belts"
,
"text_i18n"
:
"global_dict.belt"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/scarves"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Scarves"
,
"text_i18n"
:
"global_dict.scarf"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/wallets"
,
"center"
:
{
"text"
:
[{
"type"
:
"h1"
,
"text"
:
"Wallets"
,
"text_i18n"
:
"global_dict.wallet"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/hangbags"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Handbags"
,
"text_i18n"
:
"global_dict.sac"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/shoes"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Shoes"
,
"text_i18n"
:
"global_dict.shoes"
}]},
"right"
:
{
"check"
:
true
}},
{
"type"
:
"item"
,
"href"
:
"#products/categories/jewellry"
,
"center"
:
{
"text"
:[{
"type"
:
"h1"
,
"text"
:
"Jewellry"
,
"text_i18n"
:
"global_dict.jewels"
}]},
"right"
:
{
"check"
:
true
}}
]
"scheme"
:
[
{
"position"
:
"center"
,
"field_list"
:
[
{
"field"
:
"title"
}
]
}
],
"children"
:
[{
"generate"
:
"widget"
,
"type"
:
"listview"
,
"property_dict"
:
{
"theme"
:
"slapos-white"
,
"map_children"
:
"listItem"
,
"filter"
:
true
,
"input"
:
"#select_category"
,
"dynamic"
:
true
},
"children"
:
[]
}]
}
]
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment