Commit 60ac6a93 authored by Alain Takoudjou's avatar Alain Takoudjou Committed by Rafael Monnerat

[erp5_web_monitoring] put promise status at begin of listbox

parent 17c390c7
...@@ -180,11 +180,11 @@ ...@@ -180,11 +180,11 @@
}) })
.push(function (form_list) { .push(function (form_list) {
var column_list = [ var column_list = [
['status', 'Status'],
['title', 'Hosting Subscription'], ['title', 'Hosting Subscription'],
['amount', 'Instance Amount'], ['amount', 'Instance Amount'],
['date', 'Status Date'], ['date', 'Status Date'],
['synced', 'Synced?'], ['synced', 'Synced?']
['status', 'Status']
]; ];
return form_list.render({ return form_list.render({
erp5_document: { erp5_document: {
......
...@@ -239,7 +239,7 @@ ...@@ -239,7 +239,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>963.38008.45596.26931</string> </value> <value> <string>963.38011.16179.25053</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -257,7 +257,7 @@ ...@@ -257,7 +257,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1511187554.76</float> <float>1513620564.42</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -91,11 +91,11 @@ ...@@ -91,11 +91,11 @@
}) })
.push(function (form_list) { .push(function (form_list) {
var column_list = [ var column_list = [
['status', 'Status'],
['title', 'Instance Title'], ['title', 'Instance Title'],
['specialise_title', 'Hosting Subscription'], ['specialise_title', 'Hosting Subscription'],
['aggregate_reference', 'Computer'], ['aggregate_reference', 'Computer'],
['date', 'Status Date'], ['date', 'Status Date']
['status', 'Status']
]; ];
return form_list.render({ return form_list.render({
erp5_document: { erp5_document: {
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
"portal_type": [], "portal_type": [],
"search_column_list": column_list, "search_column_list": column_list,
"sort_column_list": column_list, "sort_column_list": column_list,
"sort": [["hosting-title", "ascending"]], "sort": [["title", "ascending"], ["status", "ascending"]],
"title": "Software Instances", "title": "Software Instances",
"type": "ListBox" "type": "ListBox"
} }
......
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>963.33701.38666.63044</string> </value> <value> <string>964.14466.37435.3993</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1511187464.03</float> <float>1513620695.39</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -116,12 +116,12 @@ ...@@ -116,12 +116,12 @@
}) })
.push(function (form_list) { .push(function (form_list) {
var column_list = [ var column_list = [
['category', 'Status'],
['source', 'Promise'], ['source', 'Promise'],
['channel_item', 'Software Instance'], ['channel_item', 'Software Instance'],
['channel', 'Hosting Subscription'], ['channel', 'Hosting Subscription'],
['lastBuildDate', 'Promise Date'], ['lastBuildDate', 'Promise Date'],
['description', 'Message'], ['description', 'Message']
['category', 'Status']
]; ];
return form_list.render({ return form_list.render({
erp5_document: { erp5_document: {
......
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>963.27984.14453.52343</string> </value> <value> <string>963.30987.13282.49732</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1510766112.11</float> <float>1513620461.9</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
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