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
38ef83bb
Commit
38ef83bb
authored
May 01, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
data: replaced hand made search filter with dyno filter
parent
6af52abb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
19 deletions
+15
-19
data/ui_panel_detail_search.json
data/ui_panel_detail_search.json
+13
-17
data/ui_panel_groups.json
data/ui_panel_groups.json
+1
-1
data/ui_panel_sort.json
data/ui_panel_sort.json
+1
-1
No files found.
data/ui_panel_detail_search.json
View file @
38ef83bb
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
"generate"
:
"widget"
,
"generate"
:
"widget"
,
"type"
:
"header"
,
"type"
:
"header"
,
"property_dict"
:
{
"property_dict"
:
{
"id"
:
"search-header"
,
"id"
:
"search-header
-detail
"
,
"theme"
:
"slapos-black"
,
"theme"
:
"slapos-black"
,
"add_content"
:
0
,
"add_content"
:
0
,
"section_list"
:[
"last"
],
"section_list"
:[
"last"
],
...
@@ -38,11 +38,6 @@
...
@@ -38,11 +38,6 @@
"public_key"
:
"6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
"public_key"
:
"6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
},
},
"children"
:
[{
"children"
:
[{
"type"
:
"input"
,
"direct"
:
{
"id"
:
"select_brand"
,
"className"
:
"translate"
},
"attributes"
:
{
"data-enhanced"
:
"true"
,
"data-inset"
:
false
,
"data-i18n"
:
"[placeholder]global_dict.filter"
,
"data-icon"
:
"search"
,
"data-action-btn"
:
"true"
,
"data-type"
:
"search"
,
"type"
:
"search"
},
"logic"
:{
"clear"
:
"true"
,
"add_label"
:
false
}
},
{
"type"
:
"input"
,
"type"
:
"input"
,
"direct"
:
{
"className"
:
"action translate"
},
"direct"
:
{
"className"
:
"action translate"
},
"attributes"
:
{
"type"
:
"submit"
,
"data-column"
:
"brand_id"
,
"data-i18n"
:
"[value]global_dict.search_brands"
,
"data-action"
:
"custom_checkbox_search"
},
"attributes"
:
{
"type"
:
"submit"
,
"data-column"
:
"brand_id"
,
"data-i18n"
:
"[value]global_dict.search_brands"
,
"data-action"
:
"custom_checkbox_search"
},
...
@@ -51,7 +46,12 @@
...
@@ -51,7 +46,12 @@
"portal_type_source"
:
"Portal Category"
,
"portal_type_source"
:
"Portal Category"
,
"portal_type_title"
:
"category"
,
"portal_type_title"
:
"category"
,
"initial_query"
:
{
"query"
:
"reference: 'sub_websection'"
,
"include_docs"
:
true
,
"select_list"
:
[
"_id"
,
"title"
,
"title_i18n"
]},
"initial_query"
:
{
"query"
:
"reference: 'sub_websection'"
,
"include_docs"
:
true
,
"select_list"
:
[
"_id"
,
"title"
,
"title_i18n"
]},
"property_dict"
:
{},
"property_dict"
:
{
"search"
:
{
"no_wrap"
:
true
,
"text_i18n"
:
"global_dict.filter"
}
},
"scheme"
:
[
"scheme"
:
[
{
{
"position"
:
"center"
,
"position"
:
"center"
,
...
@@ -71,8 +71,6 @@
...
@@ -71,8 +71,6 @@
"property_dict"
:
{
"property_dict"
:
{
"theme"
:
"slapos-white"
,
"theme"
:
"slapos-white"
,
"map_children"
:
"listItem"
,
"map_children"
:
"listItem"
,
"filter"
:
true
,
"input"
:
"#select_brand"
,
"dynamic"
:
true
"dynamic"
:
true
},
},
"children"
:
[]
"children"
:
[]
...
@@ -89,11 +87,6 @@
...
@@ -89,11 +87,6 @@
"expanded_icon"
:
"caret-up"
"expanded_icon"
:
"caret-up"
},
},
"children"
:
[{
"children"
:
[{
"type"
:
"input"
,
"direct"
:
{
"id"
:
"select_category"
,
"className"
:
"translate"
},
"attributes"
:
{
"data-enhanced"
:
"true"
,
"data-inset"
:
false
,
"data-i18n"
:
"[placeholder]global_dict.filter"
,
"data-icon"
:
"search"
,
"data-action-btn"
:
"true"
,
"data-type"
:
"search"
,
"type"
:
"search"
},
"logic"
:{
"clear"
:
"true"
,
"add_label"
:
false
}
},
{
"type"
:
"input"
,
"type"
:
"input"
,
"direct"
:
{
"className"
:
"action translate"
},
"direct"
:
{
"className"
:
"action translate"
},
"attributes"
:
{
"type"
:
"submit"
,
"data-column"
:
"category"
,
"data-i18n"
:
"[value]global_dict.search_categories"
,
"data-action"
:
"custom_checkbox_search"
},
"attributes"
:
{
"type"
:
"submit"
,
"data-column"
:
"category"
,
"data-i18n"
:
"[value]global_dict.search_categories"
,
"data-action"
:
"custom_checkbox_search"
},
...
@@ -102,7 +95,12 @@
...
@@ -102,7 +95,12 @@
"portal_type_source"
:
"Portal Category"
,
"portal_type_source"
:
"Portal Category"
,
"portal_type_title"
:
"category"
,
"portal_type_title"
:
"category"
,
"initial_query"
:
{
"query"
:
"reference: 'product_category'"
,
"include_docs"
:
true
,
"select_list"
:
[
"_id"
,
"title"
,
"title_i18n"
]},
"initial_query"
:
{
"query"
:
"reference: 'product_category'"
,
"include_docs"
:
true
,
"select_list"
:
[
"_id"
,
"title"
,
"title_i18n"
]},
"property_dict"
:
{},
"property_dict"
:
{
"search"
:
{
"no_wrap"
:
true
,
"text_i18n"
:
"global_dict.filter"
}
},
"scheme"
:
[
"scheme"
:
[
{
{
"position"
:
"center"
,
"position"
:
"center"
,
...
@@ -122,8 +120,6 @@
...
@@ -122,8 +120,6 @@
"property_dict"
:
{
"property_dict"
:
{
"theme"
:
"slapos-white"
,
"theme"
:
"slapos-white"
,
"map_children"
:
"listItem"
,
"map_children"
:
"listItem"
,
"filter"
:
true
,
"input"
:
"#select_category"
,
"dynamic"
:
true
"dynamic"
:
true
},
},
"children"
:
[]
"children"
:
[]
...
...
data/ui_panel_groups.json
View file @
38ef83bb
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
"generate"
:
"widget"
,
"generate"
:
"widget"
,
"type"
:
"header"
,
"type"
:
"header"
,
"property_dict"
:
{
"property_dict"
:
{
"id"
:
"search-header"
,
"id"
:
"search-header
-groups
"
,
"theme"
:
"slapos-black"
,
"theme"
:
"slapos-black"
,
"add_content"
:
0
,
"add_content"
:
0
,
"section_list"
:[
"last"
],
"section_list"
:[
"last"
],
...
...
data/ui_panel_sort.json
View file @
38ef83bb
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
"generate"
:
"widget"
,
"generate"
:
"widget"
,
"type"
:
"header"
,
"type"
:
"header"
,
"property_dict"
:
{
"property_dict"
:
{
"id"
:
"search-header"
,
"id"
:
"search-header
-sort
"
,
"theme"
:
"slapos-black"
,
"theme"
:
"slapos-black"
,
"add_content"
:
0
,
"add_content"
:
0
,
"section_list"
:[
"last"
],
"section_list"
:[
"last"
],
...
...
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