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
Léo-Paul Géneau
gitlab-ce
Commits
a185c32b
Commit
a185c32b
authored
Oct 17, 2016
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tab refs in ldap tabs.
parent
4477d68b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
app/views/devise/shared/_tabs_ldap.html.haml
app/views/devise/shared/_tabs_ldap.html.haml
+3
-3
No files found.
app/views/devise/shared/_tabs_ldap.html.haml
View file @
a185c32b
%ul
.new-session-tabs.nav-links.nav-tabs
%ul
.new-session-tabs.nav-links.nav-tabs
-
if
crowd_enabled?
-
if
crowd_enabled?
%li
.active
%li
.active
=
link_to
"Crowd"
,
"#
tab-
crowd"
,
'data-toggle'
=>
'tab'
=
link_to
"Crowd"
,
"#crowd"
,
'data-toggle'
=>
'tab'
-
@ldap_servers
.
each_with_index
do
|
server
,
i
|
-
@ldap_servers
.
each_with_index
do
|
server
,
i
|
%li
{
class:
(
:active
if
i
.
zero?
&&
!
crowd_enabled?
)}
%li
{
class:
(
:active
if
i
.
zero?
&&
!
crowd_enabled?
)}
=
link_to
server
[
'label'
],
"#
tab-
#{
server
[
'provider_name'
]
}
"
,
'data-toggle'
=>
'tab'
=
link_to
server
[
'label'
],
"
#
{
server
[
'provider_name'
]
}
"
,
'data-toggle'
=>
'tab'
-
if
signin_enabled?
-
if
signin_enabled?
%li
%li
=
link_to
'Standard'
,
'#
tab-signin
'
,
'data-toggle'
=>
'tab'
=
link_to
'Standard'
,
'#
ldap-standard
'
,
'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