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
909224be
Commit
909224be
authored
5 years ago
by
Wolfgang Knopki
Browse files
Options
Download
Email Patches
Plain Diff
user output debugging
parent
525483de
Pipeline
#365
passed with stage
in 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/headfoot.js
+2
-2
js/headfoot.js
with
2 additions
and
2 deletions
+2
-2
js/headfoot.js
+
2
-
2
View file @
909224be
...
@@ -129,12 +129,12 @@ function head(){
...
@@ -129,12 +129,12 @@ function head(){
headlink
.
innerHTML
=
"
Account
"
;
headlink
.
innerHTML
=
"
Account
"
;
headlink
.
href
=
"
/account/
"
;
headlink
.
href
=
"
/account/
"
;
}
}
if
(
typeof
user
!==
'
undefined
'
){
if
(
typeof
user
!==
'
undefined
'
&&
user
){
console
.
log
(
user
)
console
.
log
(
user
)
}
else
{
}
else
{
console
.
log
(
"
user not defined
"
)
console
.
log
(
"
user not defined
"
)
}
}
if
(
typeof
user
!==
'
undefined
'
){
//user has priority
if
(
typeof
user
!==
'
undefined
'
&&
user
){
//user has priority
headlink
.
innerHTML
=
"
Logout
"
;
headlink
.
innerHTML
=
"
Logout
"
;
headlink
.
href
=
"
/account/logout
"
;
headlink
.
href
=
"
/account/logout
"
;
}
}
...
...
This diff is collapsed.
Click to expand it.
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