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 @@
} else {
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"),
logged_in_user = document.querySelector("#logged_in_user");
logged_in_div.classList.remove("ui-screen-hidden");
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>986.21381.25290.13141</string> </value>
<value> <string>986.21386.35437.18363</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>1598988152.37</float>
<float>1600177690.3</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -100,7 +100,7 @@
.push(function (result) {
var login_link = document.querySelector("#login-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");
} else {
login_link.classList.remove("ui-screen-hidden");
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>985.24909.21409.59340</string> </value>
<value> <string>986.21388.62526.26368</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>1598988297.19</float>
<float>1600177702.07</float>
<string>UTC</string>
</tuple>
</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