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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
7d60b5e5
Commit
7d60b5e5
authored
Oct 18, 2016
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing tab for Kerberos
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
de570a06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
app/views/devise/shared/_tabs_ldap.html.haml
app/views/devise/shared/_tabs_ldap.html.haml
+6
-3
No files found.
app/views/devise/shared/_tabs_ldap.html.haml
View file @
7d60b5e5
%ul
.new-session-tabs.nav-links.nav-tabs
-
if
crowd_enabled?
%li
.active
=
link_to
"Crowd"
,
"#tab-crowd"
,
'data-toggle'
=>
'tab'
=
link_to
"Crowd"
,
"#crowd"
,
'data-toggle'
=>
'tab'
-
if
kerberos_enabled?
%li
{
class:
(
:active
unless
crowd_enabled?
||
ldap_enabled?
)}
=
link_to
"Kerberos"
,
"#kerberos"
,
'data-toggle'
=>
'tab'
-
@ldap_servers
.
each_with_index
do
|
server
,
i
|
%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?
%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