Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
klaus_wendelin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Eteri
klaus_wendelin
Commits
780b8e43
Commit
780b8e43
authored
Jan 09, 2023
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_wendelin_data_lake_ui: hide register panel entry when user is logged in
parent
9029f35d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
6 deletions
+8
-6
bt5/erp5_wendelin_data_lake_ui/PathTemplateItem/web_page_module/fif_gadget_erp5_panel_html.html
...plateItem/web_page_module/fif_gadget_erp5_panel_html.html
+1
-1
bt5/erp5_wendelin_data_lake_ui/PathTemplateItem/web_page_module/fif_gadget_erp5_panel_html.xml
...mplateItem/web_page_module/fif_gadget_erp5_panel_html.xml
+2
-2
bt5/erp5_wendelin_data_lake_ui/PathTemplateItem/web_page_module/fif_gadget_erp5_panel_js.js
...hTemplateItem/web_page_module/fif_gadget_erp5_panel_js.js
+3
-1
bt5/erp5_wendelin_data_lake_ui/PathTemplateItem/web_page_module/fif_gadget_erp5_panel_js.xml
...TemplateItem/web_page_module/fif_gadget_erp5_panel_js.xml
+2
-2
No files found.
bt5/erp5_wendelin_data_lake_ui/PathTemplateItem/web_page_module/fif_gadget_erp5_panel_html.html
View file @
780b8e43
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
<
ul
data
-
role
=
"
listview
"
class
=
"
ui-listview
"
data
-
enhanced
=
"
true
"
>
<
ul
data
-
role
=
"
listview
"
class
=
"
ui-listview
"
data
-
enhanced
=
"
true
"
>
<
li
class
=
"
ui-first-child
"
><
a
href
=
"
#
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-home
"
data
-
i18n
=
"
Home
"
>
Home
<
/a></
li
>
<
li
class
=
"
ui-first-child
"
><
a
href
=
"
#
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-home
"
data
-
i18n
=
"
Home
"
>
Home
<
/a></
li
>
<
li
><
a
href
=
"
{{data_download_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-download
"
data
-
i18n
=
"
Data Sets
"
>
Data
Sets
<
/a></
li
>
<
li
><
a
href
=
"
{{data_download_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-download
"
data
-
i18n
=
"
Data Sets
"
>
Data
Sets
<
/a></
li
>
<
li
><
a
href
=
"
{{register_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-user
"
data
-
i18n
=
"
Register
"
>
Register
<
/a></
li
>
<
li
id
=
"
register-li
"
class
=
"
ui-last-child ui-screen-hidden
"
><
a
href
=
"
{{register_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-user
"
data
-
i18n
=
"
Register
"
>
Register
<
/a></
li
>
<
li
><
a
href
=
"
{{download_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-download
"
data
-
i18n
=
"
Download Ebulk
"
>
Download
Ebulk
<
/a></
li
>
<
li
><
a
href
=
"
{{download_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-download
"
data
-
i18n
=
"
Download Ebulk
"
>
Download
Ebulk
<
/a></
li
>
<!--<
li
><
a
href
=
"
{{documentation_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-file
"
data
-
i18n
=
"
Ebulk's Documentation
"
>
Ebulk
'
s Documentation</a></li> -->
<!--<
li
><
a
href
=
"
{{documentation_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-file
"
data
-
i18n
=
"
Ebulk's Documentation
"
>
Ebulk
'
s Documentation</a></li> -->
<li><a href="{{contact_info_href}}" class="ui-btn ui-btn-icon-left ui-icon-user" data-i18n="Contact us">Contact us</a></li>
<li><a href="{{contact_info_href}}" class="ui-btn ui-btn-icon-left ui-icon-user" data-i18n="Contact us">Contact us</a></li>
...
...
bt5/erp5_wendelin_data_lake_ui/PathTemplateItem/web_page_module/fif_gadget_erp5_panel_html.xml
View file @
780b8e43
...
@@ -240,7 +240,7 @@
...
@@ -240,7 +240,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
8
5.24591.15293.42325
</string>
</value>
<value>
<string>
9
9
5.24591.15293.42325
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -258,7 +258,7 @@
...
@@ -258,7 +258,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
5
95254758.81
</float>
<float>
1
9
95254758.81
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_wendelin_data_lake_ui/PathTemplateItem/web_page_module/fif_gadget_erp5_panel_js.js
View file @
780b8e43
...
@@ -99,11 +99,13 @@
...
@@ -99,11 +99,13 @@
})
})
.
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
"
),
register_link
=
document
.
querySelector
(
"
#register-li
"
);
if
(
result
.
target
.
response
&&
result
.
target
.
response
!==
"
Anonymous User
"
)
{
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
"
);
register_link
.
classList
.
remove
(
"
ui-screen-hidden
"
);
}
}
});
});
})
})
...
...
bt5/erp5_wendelin_data_lake_ui/PathTemplateItem/web_page_module/fif_gadget_erp5_panel_js.xml
View file @
780b8e43
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
8
6.21388.62526.26368
</string>
</value>
<value>
<string>
9
9
6.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>
1
6
00177702.07
</float>
<float>
1
9
00177702.07
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment