Commit f59533cb authored by Sven Franck's avatar Sven Franck

removed computer_reference_portal_type from API

parent 25b36e07
...@@ -827,85 +827,43 @@ ...@@ -827,85 +827,43 @@
} }
} }
}, },
"computer_reference_portal_type": { "computer_reference_network": {
"type":"StringField", "type": "ListField",
"widget": { "widget": {
"id": "computer_reference_portal_type",
"title": "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": "The portal type this release is associated to.",
"description_i18n": "portal_type_dict.computer_dict.field_list.reference_portal_type.description", "description_i18n": "portal_type_dict.computer_dict.field_list.network.description",
"alternate_name": "computer_reference_portal_type", "alternate_name": "computer_reference_network",
"default_value": null, "default_value": null,
"css_class": "", "css_class": null,
"hidden": null, "hidden": false,
"display_width": null, "size": 1,
"maximum_input": null, "items": "#networks?display=Title",
"extra": null "select_first_item": true,
}, "extra_per_item": 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,
"extra": null "extra": null
}, },
"properties": { "properties": {
"enabled": true, "enabled": true,
"editable": true, "editable": true,
"external_validator": null, "external_validator": null,
"required": true, "required": null,
"preserve_whitespace": null, "preserve_whitespace": null,
"unicode": null, "unicode": null
"maximum_length": 70,
"truncate": null
}, },
"message": { "messages": {
"external_validator_failed": { "external_validator_failed": {
"message": "The input failed the external validator.", "message": "The input failed the external validator.",
"i18n": "validation_dict.external" "i18n": "validation_dict.external"
}, },
"required_not_found": { "required_not_found": {
"message": "Input required but not found.", "message": "Input is required but no input given.",
"i18n": "validation_dict.required" "i18n": "validation_dict.required"
}, },
"too_long": { "unknown_selection": {
"message": "Too much input given.", "message":"You selected on option not on the menu",
"i18n": "validation_dict.too_much_input" "i18n": "validation_dict.option_not_available"
} }
} }
} }
......
...@@ -37,7 +37,8 @@ ...@@ -37,7 +37,8 @@
{ {
"position": "left", "position": "left",
"fieldlist": [ "fieldlist": [
{"title": "computer_title"} {"title": "computer_title"},
{"title": "computer_reference_network"}
] ]
}, { }, {
"position": "center", "position": "center",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment