Commit f59533cb authored by Sven Franck's avatar Sven Franck

removed computer_reference_portal_type from API

parent 25b36e07
......@@ -827,85 +827,43 @@
}
}
},
"computer_reference_portal_type": {
"type":"StringField",
"computer_reference_network": {
"type": "ListField",
"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": {
"messages": {
"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"
}
}
}
......
......@@ -37,7 +37,8 @@
{
"position": "left",
"fieldlist": [
{"title": "computer_title"}
{"title": "computer_title"},
{"title": "computer_reference_network"}
]
}, {
"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