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

data: added bug report

parent e8c3654e
This diff is collapsed.
{
"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