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
14f7fb6c
Commit
14f7fb6c
authored
Apr 29, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
data: updated page layouts
parent
5a023e32
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
59 deletions
+45
-59
data/personal_data.json
data/personal_data.json
+43
-55
data/sales_order_fieldlist.json
data/sales_order_fieldlist.json
+2
-4
No files found.
data/personal_data.json
View file @
14f7fb6c
...
...
@@ -3,7 +3,7 @@
"portal_type_title"
:
"sales_order"
,
"initial_query"
:
{
"include_docs"
:
true
,
"limit"
:[
0
,
1
]},
"property_dict"
:
{
"wrap_gadget"
:
3
,
"wrap_gadget"
:
1
,
"submit_to"
:
"#subscription/validate_order"
,
"allow_new"
:
true
},
...
...
@@ -17,8 +17,12 @@
{
"field"
:
"first_name"
},
{
"custom"
:
true
,
"wrap"
:
true
,
"type"
:
"input"
,
"direct"
:
{
"id"
:
"dob"
,
"name"
:
"dob"
,
"className"
:
"translate"
},
"logic"
:{
"label_i18n"
:
"portal_type_dict.sales_order_dict.text_dict.dob"
,
"label"
:
"Date de naissance (JJ/MM/AAAA)"
}},
{
"field"
:
"default_email_text"
},
{
"field"
:
"default_email_confirm"
}
],
{
"field"
:
"default_email_confirm"
},
{
"field"
:
"delivery_method"
},
{
"field"
:
"delivery_address"
},
{
"field"
:
"notification_language"
}
]
},
{
"position"
:
"right"
,
"field_list"
:
[
{
"field"
:
"country_code"
},
...
...
@@ -32,12 +36,6 @@
{
"field"
:
"country"
},
{
"field"
:
"postcode"
},
{
"field"
:
"city"
}
],
"position"
:
"left"
,
"field_list"
:
[
{
"field"
:
"delivery_method"
},
{
"field"
:
"delivery_address"
},
{
"field"
:
"notification_language"
}
]
}
],
...
...
@@ -92,17 +90,14 @@
"direction"
:
"horizontal"
},
"children"
:
[
{
"type"
:
"a"
,
"direct"
:
{
"href"
:
"#subscription"
,
"className"
:
"ui-btn ui-btn-icon-left ui-icon-car
e
t-l"
},
"attributes"
:
{
"data-i18n"
:
"portal_type_dict.sales_order_dict.text_dict.retour"
},
"logic"
:
{
"text"
:
"Retour"
}},
{
"type"
:
"input"
,
"direct"
:
{
"className"
:
"action translate"
},
"attributes"
:
{
"type"
:
"submit"
,
"data-action"
:
"update"
,
"data-icon
"
:
"carat-r"
,
"data-theme"
:
"active
"
,
"data-i18n"
:
"[value]global_dict.proceed"
}}
{
"type"
:
"a"
,
"direct"
:
{
"href"
:
"#subscription"
,
"className"
:
"ui-btn ui-btn-icon-left ui-icon-car
a
t-l"
},
"attributes"
:
{
"data-i18n"
:
"portal_type_dict.sales_order_dict.text_dict.retour"
},
"logic"
:
{
"text"
:
"Retour"
}},
{
"type"
:
"input"
,
"direct"
:
{
"className"
:
"action translate"
},
"attributes"
:
{
"type"
:
"submit"
,
"data-action"
:
"update"
,
"data-icon
pos"
:
"right"
,
"data-theme"
:
"active"
,
"data-icon"
:
"carat-r
"
,
"data-i18n"
:
"[value]global_dict.proceed"
}}
]
}
]
},
{
"generate"
:
"widget"
,
"type"
:
"controlbar"
,
"property_dict"
:
{
"class_list"
:
"span_2 ui-content-element"
},
},{
"type"
:
"div"
,
"direct"
:
{
"className"
:
"ui-content-element"
},
"children"
:
[{
"type"
:
"h3"
,
"direct"
:
{
"className"
:
"translate"
},
...
...
@@ -133,14 +128,7 @@
"direct"
:
{
"className"
:
"translate"
},
"attributes"
:
{
"data-i18n"
:
"portal_type_dict.sales_order_dict.text_dict.delivery"
},
"logic"
:
{
"text"
:
"Livraison sous 48 heures en France"
}
}]
},
{
"generate"
:
"widget"
,
"type"
:
"controlbar"
,
"property_dict"
:
{
"class_list"
:
"span_2 ui-content-element"
},
"children"
:
[{
"type"
:
"a"
,
"direct"
:
{
"href"
:
"#"
,
"className"
:
"translate ui-btn ui-icon-medkit ui-corner-all ui-btn-icon-right"
},
"attributes"
:
{
"data-i18n"
:
"portal_type_dict.sales_order_dict.text_dict.help"
},
...
...
data/sales_order_fieldlist.json
View file @
14f7fb6c
...
...
@@ -590,10 +590,8 @@
"type"
:
"ListField"
,
"widget"
:
{
"id"
:
"country_code"
,
"title"
:
"International country code for cell phone (used to validate your subscription) "
,
"title_i18n"
:
"portal_type_dict.sales_order_dict.field_dict.country_code.title"
,
"description"
:
"The country code of the person subscribing."
,
"description_i18n"
:
"portal_type_dict.sales_order_dict.field_dict.country_code.description"
,
"description"
:
"The country code of the landline phone of this person."
,
"alternate_name"
:
"country_code"
,
"default_value"
:
null
,
"css_class"
:
null
,
...
...
@@ -607,7 +605,7 @@
"enabled"
:
true
,
"editable"
:
true
,
"external_validator"
:
null
,
"required"
:
true
,
"required"
:
null
,
"unicode"
:
null
},
"message"
:
{
...
...
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