Commit 5cc7d5f8 authored by Boxiang Sun's avatar Boxiang Sun Committed by Tristan Cavelier

erp5_officejs_support_request_ui: Use shorter bar title which can make the...

erp5_officejs_support_request_ui: Use shorter bar title which can make the title more visible on the small screen.
parent a3b5565b
...@@ -41,14 +41,14 @@ ...@@ -41,14 +41,14 @@
days_7.setHours(0, 0, 0, 0); days_7.setHours(0, 0, 0, 0);
days_30.setHours(0, 0, 0, 0); days_30.setHours(0, 0, 0, 0);
if (name === 'Less than 2 days') { if (name === '< 2') {
begin_date = days_2; begin_date = days_2;
cur_mid_night.setDate(cur_mid_night.getDate() + 1); cur_mid_night.setDate(cur_mid_night.getDate() + 1);
end_date = cur_mid_night; end_date = cur_mid_night;
} else if (name === '2-7 days') { } else if (name === '2-7') {
begin_date = days_7; begin_date = days_7;
end_date = days_2; end_date = days_2;
} else if (name === '7-30 days') { } else if (name === '7-30') {
begin_date = days_30; begin_date = days_30;
end_date = days_7; end_date = days_7;
} else { } else {
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
data: [ data: [
{ {
value_dict: { value_dict: {
0: ["Less than 2 days", "2-7 days", "7-30 days", "More than 30 days"], 0: ["< 2", "2-7", "7-30", "> 30"],
1: [ 1: [
sp_data.le2.validated, sp_data.le2.validated,
sp_data['2to7'].validated, sp_data['2to7'].validated,
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
}, },
{ {
value_dict: { value_dict: {
0: ["Less than 2 days", "2-7 days", "7-30 days", "More than 30 days"], 0: ["< 2", "2-7", "7-30", "> 30"],
1: [ 1: [
sp_data.le2.submitted, sp_data.le2.submitted,
sp_data['2to7'].submitted, sp_data['2to7'].submitted,
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
}, },
{ {
value_dict: { value_dict: {
0: ["Less than 2 days", "2-7 days", "7-30 days", "More than 30 days"], 0: ["< 2", "2-7", "7-30", "> 30"],
1: [ 1: [
sp_data.le2.suspended, sp_data.le2.suspended,
sp_data['2to7'].suspended, sp_data['2to7'].suspended,
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>961.56892.37751.58572</string> </value> <value> <string>961.57878.63760.62037</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1504600387.45</float> <float>1504601728.55</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