Commit 173c0dcf authored by Ivan Tyagov's avatar Ivan Tyagov

Minor fixes in data lake UI

See merge request !67
parents 5ec409e2 844b6376
......@@ -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>
......
......@@ -64,7 +64,7 @@
"key": "field_listbox",
"lines": 15,
"list_method": "portal_catalog",
"query": "urn:jio:allDocs?query=portal_type%3A%22Data+Stream%22+AND+validation_state%3A%22published%22+AND+reference%3A%22" + dataset + "%2F%25%22",
"query": "urn:jio:allDocs?query=portal_type%3A%22Data+Stream%22+AND+(validation_state%3A%22published%22+OR+validation_state%3A%22validated%22)+AND+reference%3A%22" + dataset + "%2F%25%22",
"portal_type": [],
"search_column_list": column_list,
"sort_column_list": column_list,
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>984.971.49023.47684</string> </value>
<value> <string>985.17804.29784.22596</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>1591034166.31</float>
<float>1600179183.35</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