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
f59533cb
Commit
f59533cb
authored
Jan 03, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed computer_reference_portal_type from API
parent
25b36e07
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
61 deletions
+20
-61
data/computer_fieldlist.json
data/computer_fieldlist.json
+18
-60
data/computer_new.json
data/computer_new.json
+2
-1
No files found.
data/computer_fieldlist.json
View file @
f59533cb
...
...
@@ -827,85 +827,43 @@
}
}
},
"computer_reference_
portal_type
"
:
{
"type"
:
"String
Field"
,
"computer_reference_
network
"
:
{
"type"
:
"List
Field"
,
"widget"
:
{
"id"
:
"computer_reference_portal_type"
,
"title"
:
"Reference Portal Type"
,
"title_i18n"
:
"portal_type_dict.computer_dict.field_list.
reference_portal_type
.title"
,
"title_i18n"
:
"portal_type_dict.computer_dict.field_list.
network
.title"
,
"description"
:
"The portal type this release is associated to."
,
"description_i18n"
:
"portal_type_dict.computer_dict.field_list.
reference_portal_type
.description"
,
"alternate_name"
:
"computer_reference_
portal_type
"
,
"description_i18n"
:
"portal_type_dict.computer_dict.field_list.
network
.description"
,
"alternate_name"
:
"computer_reference_
network
"
,
"default_value"
:
null
,
"css_class"
:
""
,
"hidden"
:
null
,
"display_width"
:
null
,
"maximum_input"
:
null
,
"extra"
:
null
},
"properties"
:
{
"enabled"
:
true
,
"editable"
:
true
,
"external_validator"
:
null
,
"required"
:
true
,
"preserve_whitespace"
:
null
,
"unicode"
:
null
,
"maximum_length"
:
70
,
"truncate"
:
null
},
"message"
:
{
"external_validator_failed"
:
{
"message"
:
"The input failed the external validator."
,
"i18n"
:
"validation_dict.external"
},
"required_not_found"
:
{
"message"
:
"Input required but not found."
,
"i18n"
:
"validation_dict.required"
},
"too_long"
:
{
"message"
:
"Too much input given."
,
"i18n"
:
"validation_dict.too_much_input"
}
}
},
"computer_reference_id"
:
{
"type"
:
"StringField"
,
"widget"
:
{
"id"
:
"computer_reference_id"
,
"title"
:
"Reference ID"
,
"title_i18n"
:
"portal_type_dict.computer_dict.field_list.reference_id.title"
,
"description"
:
"The id of the referenced portal_type this release is associated to."
,
"description_i18n"
:
"portal_type_dict.computer_dict.field_list.reference_id.description"
,
"alternate_name"
:
"computer_reference_id"
,
"default_value"
:
null
,
"css_class"
:
""
,
"hidden"
:
null
,
"display_width"
:
null
,
"maximum_input"
:
null
,
"css_class"
:
null
,
"hidden"
:
false
,
"size"
:
1
,
"items"
:
"#networks?display=Title"
,
"select_first_item"
:
true
,
"extra_per_item"
:
null
,
"extra"
:
null
},
"properties"
:
{
"enabled"
:
true
,
"editable"
:
true
,
"external_validator"
:
null
,
"required"
:
true
,
"required"
:
null
,
"preserve_whitespace"
:
null
,
"unicode"
:
null
,
"maximum_length"
:
70
,
"truncate"
:
null
"unicode"
:
null
},
"message"
:
{
"message
s
"
:
{
"external_validator_failed"
:
{
"message"
:
"The input failed the external validator."
,
"i18n"
:
"validation_dict.external"
},
"required_not_found"
:
{
"message"
:
"Input
required but not found
."
,
"message"
:
"Input
is required but no input given
."
,
"i18n"
:
"validation_dict.required"
},
"
too_long
"
:
{
"message"
:
"Too much input given.
"
,
"i18n"
:
"validation_dict.
too_much_input
"
"
unknown_selection
"
:
{
"message"
:
"You selected on option not on the menu
"
,
"i18n"
:
"validation_dict.
option_not_available
"
}
}
}
...
...
data/computer_new.json
View file @
f59533cb
...
...
@@ -37,7 +37,8 @@
{
"position"
:
"left"
,
"fieldlist"
:
[
{
"title"
:
"computer_title"
}
{
"title"
:
"computer_title"
},
{
"title"
:
"computer_reference_network"
}
]
},
{
"position"
:
"center"
,
...
...
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