Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
5 years ago
by
Wolfgang Knopki
Browse files
Options
Download
Email Patches
Plain Diff
user output debugging
parent
fa6414d9
Pipeline
#364
passed with stage
in 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/headfoot.js
+5
-1
js/headfoot.js
with
5 additions
and
1 deletion
+5
-1
js/headfoot.js
+
5
-
1
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
"
;
...
...
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
Menu
Explore
Projects
Groups
Snippets