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
c39030da
Commit
c39030da
authored
5 years ago
by
Wolfgang Knopki
Browse files
Options
Download
Email Patches
Plain Diff
added dynamic header according to login status
parent
d344e37f
master
testing
No related merge requests found
Pipeline
#102
passed with stage
in 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/headfoot.js
+1
-1
js/headfoot.js
with
1 addition
and
1 deletion
+1
-1
js/headfoot.js
+
1
-
1
View file @
c39030da
...
...
@@ -79,7 +79,7 @@ function head(){
let
combolink
=
document
.
createElement
(
'
a
'
);
combolink
.
classList
.
add
(
"
dropdown-item
"
);
if
(
menu
[
j
].
combos
[
k
].
name
==
"
Projekte
"
&&
userAuthenticated
()){
combolink
.
href
=
menu
[
j
].
combos
[
k
].
link
+
"
?isAuthenticatedUser=true;
combolink
.
href
=
menu
[
j
].
combos
[
k
].
link
+
"
?isAuthenticatedUser=true
"
;
}
else
{
combolink
.
href
=
menu
[
j
].
combos
[
k
].
link
;
}
...
...
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