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