Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Administrator
m4lab_landing_page
Commits
9dba8167
Commit
9dba8167
authored
Oct 22, 2019
by
Wolfgang Knopki
Browse files
test dynamic header
parent
cc02ba33
Pipeline
#119
passed with stage
in 3 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
js/headfoot.js
View file @
9dba8167
...
...
@@ -95,8 +95,7 @@ function head(){
headlink
.
innerHTML
=
"
Account
"
;
headlink
.
href
=
"
/account/
"
;
}
else
if
(
document
.
getElementById
(
'
loginswitch
'
).
getAttribute
(
'
authenticated
'
)
==
'
2
'
){
headlink
.
setAttribute
(
"
th:onclick
"
,
"
@{/logout}
"
);
headlink
.
removeAttribute
(
"
href
"
);
headlink
.
href
=
"
./logout
"
;
headlink
.
innerHTML
=
"
Logout
"
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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