Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Administrator
m4lab_landing_page
Commits
df4adf74
Commit
df4adf74
authored
Oct 22, 2019
by
Wolfgang Knopki
Browse files
test dynamic header
parent
b355b091
Pipeline
#108
passed with stage
in 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
js/headfoot.js
View file @
df4adf74
...
...
@@ -10,8 +10,8 @@ function prependChild(parent,child){
parent
.
insertBefore
(
child
,
parent
.
childNodes
[
0
]);
}
function
userAuthenticated
(){
console
.
log
(
document
.
getElementById
(
'
loginswitch
'
).
getAttribute
(
'
authenticated
'
));
function
userAuthenticated
(){
let
params
=
new
URLSearchParams
(
window
.
location
.
search
);
if
(
params
.
get
(
'
isAuthenticatedUser
'
)){
return
true
;
...
...
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