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
909224be
Commit
909224be
authored
Dec 10, 2019
by
Wolfgang Knopki
Browse files
user output debugging
parent
525483de
Pipeline
#365
passed with stage
in 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
js/headfoot.js
View file @
909224be
...
...
@@ -129,12 +129,12 @@ function head(){
headlink
.
innerHTML
=
"
Account
"
;
headlink
.
href
=
"
/account/
"
;
}
if
(
typeof
user
!==
'
undefined
'
){
if
(
typeof
user
!==
'
undefined
'
&&
user
){
console
.
log
(
user
)
}
else
{
console
.
log
(
"
user not defined
"
)
}
if
(
typeof
user
!==
'
undefined
'
){
//user has priority
if
(
typeof
user
!==
'
undefined
'
&&
user
){
//user has priority
headlink
.
innerHTML
=
"
Logout
"
;
headlink
.
href
=
"
/account/logout
"
;
}
...
...
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