Commit 14c23571 authored by Roque's avatar Roque

erp5_wendelin_data_lake_ui: update panel and header to recent changes on Base_getUserCaption script

parent 5ec409e2
...@@ -360,7 +360,7 @@ ...@@ -360,7 +360,7 @@
} else { } else {
promise_list.push(null); promise_list.push(null);
} }
if (gadget.state.user) { if (gadget.state.user && gadget.state.user !== "Anonymous User") {
var logged_in_div = document.querySelector("#logged_in_div"), var logged_in_div = document.querySelector("#logged_in_div"),
logged_in_user = document.querySelector("#logged_in_user"); logged_in_user = document.querySelector("#logged_in_user");
logged_in_div.classList.remove("ui-screen-hidden"); logged_in_div.classList.remove("ui-screen-hidden");
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>986.21381.25290.13141</string> </value> <value> <string>986.21386.35437.18363</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>1598988152.37</float> <float>1600177690.3</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
.push(function (result) { .push(function (result) {
var login_link = document.querySelector("#login-li"), var login_link = document.querySelector("#login-li"),
logout_link = document.querySelector("#logout-li"); logout_link = document.querySelector("#logout-li");
if (result.target.response) { if (result.target.response && result.target.response !== "Anonymous User") {
logout_link.classList.remove("ui-screen-hidden"); logout_link.classList.remove("ui-screen-hidden");
} else { } else {
login_link.classList.remove("ui-screen-hidden"); login_link.classList.remove("ui-screen-hidden");
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>985.24909.21409.59340</string> </value> <value> <string>986.21388.62526.26368</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>1598988297.19</float> <float>1600177702.07</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