Commit 4fc38586 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Minor fixup for the UI

parent 5840e8ce
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
erp5_document: { erp5_document: {
"_embedded": {"_view": { "_embedded": {"_view": {
"my_start_date": { "my_start_date": {
"allow_empty_time": 0, "allow_empty_time": 0,
"ampm_time_style": 0, "ampm_time_style": 0,
"css_class": "date_field", "css_class": "date_field",
...@@ -186,10 +187,9 @@ ...@@ -186,10 +187,9 @@
]); ]);
}) })
.push(function (url_list) { .push(function (url_list) {
var start_date = new Date(gadget.state.doc.start_date), var header_dict = {
header_dict = {
selection_url: url_list[1], selection_url: url_list[1],
page_title: page_title_translation + start_date.toUTCString() page_title: page_title_translation + ' ' + gadget.state.doc.reference
}; };
if (!gadget.state.editable) { if (!gadget.state.editable) {
header_dict.edit_content = url_list[0]; header_dict.edit_content = url_list[0];
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>987.11778.39213.65382</string> </value> <value> <string>992.9718.3353.42939</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>1602257646.96</float> <float>1621364990.01</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