Commit 57f0c97b authored by Sven Franck's avatar Sven Franck

data: added bug report

parent e8c3654e
{
"_id": {
"type":"StringField",
"widget": {
"id": "_id",
"title_i18n": "portal_type_dict.bug_report_dict.field_dict._id.title",
"description_i18n": "portal_type_dict.bug_report_dict.field_dict._id.description",
"alternate_name": "_id",
"default_value": null,
"css_class": null,
"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": null,
"truncate": null
},
"message": {
"required_not_found": {
"message": "Input required but not found.",
"i18n": "validation_dict.required"
},
"too_long": {
"message": "Too much input give.",
"i18n": "validation_dict.too_much_input"
}
}
},
"event_date_posted": {
"type":"DateTimeField",
"widget": {
"id": "event_date_posted",
"title_i18n": "portal_type_dict.bug_report_dict.field_dict.event_date_posted.title",
"description_i18n": "portal_type_dict.bug_report_dict.field_dict.event_date_posted.description",
"alternate_name": "event_date_posted",
"default_value": null,
"css_class": null,
"hidden": null,
"default_to_know": null,
"data_separator": null,
"time_separator": null,
"input_style": null,
"input_order": null,
"display_date_only": true,
"am_pm time style": null,
"display_timezone": null,
"hide_day": null,
"hidden_day_is_last_day_of_the_month": null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": null,
"start_datetime": null,
"end_datetime": null,
"allow_empty_datetime": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"not_datetime": {
"message": "You did not enter a valid date and time.",
"i18n": "validation_dict.not_valid_datetime"
},
"datetime_out_of_range": {
"message": "The date and time you entered were out of range.",
"i18n": "validation_dict.out_of_range_datetime"
}
}
},
"event_message": {
"type":"TextareaField",
"widget": {
"id": "event_message",
"title_i18n": "portal_type_dict.bug_report_dict.field_dict.event_message.title",
"description_i18n": "portal_type_dict.bug_report_dict.field_dict.event_message.description",
"alternate_name": "event_message",
"css_class": null,
"hidden": null,
"width":null,
"height":null,
"extra":null
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_lines": null,
"maximum_length_of_line": null,
"maximum_characters": 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_many_lines": {
"message": "You have entered too many lines.",
"i18n": "validation_dict.too_many_lines"
},
"line_too_long": {
"message": "One or more lines you have entered are too long.",
"i18n": "validation_dict.too_long_lines"
},
"too_long": {
"message": "You have entered too many characters.",
"i18n": "validation_dict.too_many_chars"
}
}
},
"event_posted_by": {
"type":"StringField",
"widget": {
"id": "bug_filed_by_name",
"title_i18n": "portal_type_dict.bug_report_dict.field_dict.bug_filed_by_name.title",
"description_i18n": "portal_type_dict.bug_report_dict.field_dict.bug_filed_by_name.description",
"alternate_name": "bug_filed_by_name",
"default_value": null,
"css_class": null,
"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": null,
"truncate": null
},
"message": {
"required_not_found": {
"message": "Input required but not found.",
"i18n": "validation_dict.required"
},
"too_long": {
"message": "Too much input give.",
"i18n": "validation_dict.too_much_input"
}
}
},
"event_subordinate_ticket_status": {
"type":"RelationStringField",
"widget": {
"id": "event_subordinate_ticket_status",
"title_i18n": "portal_type_dict.job_posting_dict.field_dict.event_subordinate_ticket_status.title",
"description_i18n": "portal_type_dict.job_posting_dict.field_dict.event_subordinate_ticket_status.description",
"alternate_name": "event_subordinate_ticket_status",
"default_value": null,
"css_class": null,
"hidden": null,
"display_width": null,
"display_maxwidth": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"maximum_length": null,
"first_item": null,
"extra_item": null,
"external_validator": null,
"items": null,
"list_method": null,
"jump_method": null,
"max_length": null,
"max_linelength": null,
"max_lines": null,
"parameter_list": null,
"portal_type": null,
"catalog_index": null,
"base_category": null,
"allow_jump": null,
"allow_creation": null,
"columns": null,
"container_getter_id": null,
"relation_setter_id": null,
"required": true,
"size": 1,
"sort": null,
"truncate": null,
"unicode": null,
"preserve_whitespace": 0,
"update_method": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external_validator_failed"
},
"line_too_long": {
"message": "A line was too long.",
"i18n": "validation_dict.line_too_long"
},
"relation_result_ambiguous": {
"message": "Relation_result_ambiguous.",
"i18n": "validation_dict.relation_result_ambiguous"
},
"relation_result_ambiguous": {
"message": "Select appropriate document in the list.",
"i18n": "validation_dict.relation_result_ambiguous"
},
"relation_result_empty": {
"message": "No such document was found.",
"i18n": "validation_dict.relation_result_empty"
},
"relation_result_too_long": {
"message": "Too many documents were found.",
"i18n": "validation_dict.relation_result_too_long"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required_not_found"
},
"too_long": {
"message": "You entered too many characters.",
"i18n": "validation_dict.too_long"
},
"too_many_lines": {
"message": "You entered too many lines.",
"i18n": "validation_dict.too_many_lines"
}
}
},
"event_subordintated_id": {
"type":"RelationStringField",
"widget": {
"id": "event_subordinate_ticket_status",
"title_i18n": "portal_type_dict.job_posting_dict.field_dict.event_subordinate_ticket_status.title",
"description_i18n": "portal_type_dict.job_posting_dict.field_dict.event_subordinate_ticket_status.description",
"alternate_name": "event_subordinate_ticket_status",
"default_value": null,
"css_class": null,
"hidden": null,
"display_width": null,
"display_maxwidth": null,
"maximum_input": null,
"extra": null
},
"properties": {
"enabled": true,
"editable": true,
"maximum_length": null,
"first_item": null,
"extra_item": null,
"external_validator": null,
"items": null,
"list_method": null,
"jump_method": null,
"max_length": null,
"max_linelength": null,
"max_lines": null,
"parameter_list": null,
"portal_type": null,
"catalog_index": null,
"base_category": null,
"allow_jump": null,
"allow_creation": null,
"columns": null,
"container_getter_id": null,
"relation_setter_id": null,
"required": true,
"size": 1,
"sort": null,
"truncate": null,
"unicode": null,
"preserve_whitespace": 0,
"update_method": null
},
"message": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external_validator_failed"
},
"line_too_long": {
"message": "A line was too long.",
"i18n": "validation_dict.line_too_long"
},
"relation_result_ambiguous": {
"message": "Relation_result_ambiguous.",
"i18n": "validation_dict.relation_result_ambiguous"
},
"relation_result_ambiguous": {
"message": "Select appropriate document in the list.",
"i18n": "validation_dict.relation_result_ambiguous"
},
"relation_result_empty": {
"message": "No such document was found.",
"i18n": "validation_dict.relation_result_empty"
},
"relation_result_too_long": {
"message": "Too many documents were found.",
"i18n": "validation_dict.relation_result_too_long"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required_not_found"
},
"too_long": {
"message": "You entered too many characters.",
"i18n": "validation_dict.too_long"
},
"too_many_lines": {
"message": "You entered too many lines.",
"i18n": "validation_dict.too_many_lines"
}
}
}
}
{
"property_dict": {},
"children": [
{
"generate": "widget",
"type": "page",
"property_dict": {
"title_i18n": "portal_type_dict.bug_report_dict.text_dict.bug_tracker",
"theme": "slapos-white"
},
"view_dict": {
"default": [{
"type":"div",
"direct": {"className": "span_2"},
"children":[{
"type": "p",
"direct": {"className": "translate ui-content-element responsive"},
"attributes": {"data-i18n":"portal_type_dict.bug_report_dict.text_dict.ticket_overview"}
}]
},{
"href": "bug_report_overview"
}]
}
}, {
"generate": "widget",
"type": "page",
"property_dict": {
"title_i18n": "portal_type_dict.bug_report_dict.text_dict.bug_events",
"theme": "slapos-white"
},
"view_dict": {
"default": [{
"href": "bug_posting_dump"
},{
"href": "bug_report_file"
}, {
"href": "bug_report_view"
}]
}
}
]
}
\ No newline at end of file
{
"portal_type_source": "Bug Posting",
"portal_type_title": "bug_posting",
"initial_query": {"include_docs": true, "limit":[0,8]},
"property_dict": {
"wrap_gadget": 2,
"link": true,
"check": true,
"search": {
"text_i18n": "portal_type_dict.bug_report_dict.text_dict.search",
"info_list": ["records"],
"class_list": "center"
}
},
"scheme": [
{
"position": "left",
"field_list": [
{"field": "bug_icon", "type": "icon"}
]
},
{
"position": "center",
"field_list": [
{"field": "bug_title", "type": "h3"},
{"type": "span", "direct": {}, "logic": {"text": "\u00A0-\u00A0" }},
{"field": "bug_filed_by_name", "type": "span"},
{"type": "span", "direct": {}, "logic": {"text": "\u00A0-\u00A0" }},
{"field": "bug_created", "type": "span"}
]
}
],
"children": [{
"generate": "widget",
"type": "listview",
"property_dict": {
"inset": true,
"theme": "slapos-white",
"map_children": "listItem",
"dynamic": true
},
"children":[]
}, {
"generate": "widget",
"type": "controlgroup",
"property_dict": {
"direction": "horizontal",
"class_list": "right"
},
"children": [
{
"type": "a",
"direct": {"className": "ui-btn ui-btn-icon-right ui-icon-trash-o ui-disabled translate action responsive", "href": "#"},
"attributes": {"data-i18n": "portal_type_dict.bug_report_dict.text_dict.delete_ticket", "data-action": "delete"}
}
]
}]
}
[
{
"_id": "event001",
"event_date_posted": "2014/04/24",
"event_message": "You got to be kidding me...?",
"event_posted_by": "IT Admin",
"event_subordinate_ticket_status": "ticket001",
"event_subordintate_id": "ticket001"
}
]
\ No newline at end of file
{
"portal_type_source": "Bug Report",
"portal_type_title": "bug_report",
"initial_query": {"include_docs": true, "limit":[0,8]},
"property_dict": {
"wrap_gadget": 2,
"search": {
"text_i18n": "portal_type_dict.bug_report_dict.text_dict.search",
"info_list": ["records"],
"class_list": "center"
}
},
"scheme": [
{
"position": "left",
"field_list": [
{"field": "event_date_posted", "type": "span"}
]
},
{
"position": "center",
"field_list": [
{"field": "event_message", "type": "h3"},
{"field": "event_posted_by", "type": "span"},
{"field": "event_subordinate_ticket_status", "type": "p", "aside": true}
]
}
],
"children": [{
"generate": "widget",
"type": "listview",
"property_dict": {
"inset": true,
"theme": "slapos-white",
"map_children": "listItem",
"dynamic": true
},
"children":[]
}]
}
[
{"text_i18n": "global_dict.open", "value":"open"},
{"text_i18n": "global_dict.closed", "value":"closed"},
{"text_i18n": "global_dict.pending", "value":"pending"}
]
\ No newline at end of file
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