Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
53750696
Commit
53750696
authored
May 10, 2019
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve CE/EE diffs in devise ldap tabs
Part of single codebase changes.
parent
4828ef52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
app/views/devise/shared/_tabs_ldap.html.haml
app/views/devise/shared/_tabs_ldap.html.haml
+1
-0
No files found.
app/views/devise/shared/_tabs_ldap.html.haml
View file @
53750696
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
-
if
crowd_enabled?
-
if
crowd_enabled?
%li
.nav-item
%li
.nav-item
=
link_to
"Crowd"
,
"#crowd"
,
class:
"nav-link
#{
active_when
(
form_based_auth_provider_has_active_class?
(
:crowd
))
}
"
,
'data-toggle'
=>
'tab'
=
link_to
"Crowd"
,
"#crowd"
,
class:
"nav-link
#{
active_when
(
form_based_auth_provider_has_active_class?
(
:crowd
))
}
"
,
'data-toggle'
=>
'tab'
=
render_if_exists
"devise/shared/kerberos_tab"
-
@ldap_servers
.
each_with_index
do
|
server
,
i
|
-
@ldap_servers
.
each_with_index
do
|
server
,
i
|
%li
.nav-item
%li
.nav-item
=
link_to
server
[
'label'
],
"#
#{
server
[
'provider_name'
]
}
"
,
class:
"nav-link
#{
active_when
(
i
.
zero?
&&
form_based_auth_provider_has_active_class?
(
:ldapmain
))
}
qa-ldap-tab"
,
'data-toggle'
=>
'tab'
=
link_to
server
[
'label'
],
"#
#{
server
[
'provider_name'
]
}
"
,
class:
"nav-link
#{
active_when
(
i
.
zero?
&&
form_based_auth_provider_has_active_class?
(
:ldapmain
))
}
qa-ldap-tab"
,
'data-toggle'
=>
'tab'
...
...
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