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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
b14198a5
Commit
b14198a5
authored
Nov 07, 2015
by
Christian Speich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hide tab-bar in login-box when only one tabs is shown.
parent
0d9fb211
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
19 deletions
+27
-19
app/views/devise/shared/_signin_box.html.haml
app/views/devise/shared/_signin_box.html.haml
+27
-19
No files found.
app/views/devise/shared/_signin_box.html.haml
View file @
b14198a5
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
%h3
Sign in
%h3
Sign in
.login-body
.login-body
-
if
form_based_providers
.
any?
-
if
form_based_providers
.
any?
-
if
form_based_providers
.
count
>=
2
||
signin_enabled?
%ul
.nav.nav-tabs
%ul
.nav.nav-tabs
-
if
crowd_enabled?
-
if
crowd_enabled?
%li
.active
%li
.active
...
@@ -27,6 +28,13 @@
...
@@ -27,6 +28,13 @@
-
if
signin_enabled?
-
if
signin_enabled?
%div
#tab-signin
.tab-pane
%div
#tab-signin
.tab-pane
=
render
'devise/sessions/new_base'
=
render
'devise/sessions/new_base'
-
else
-
if
crowd_enabled?
=
render
'devise/sessions/new_crowd'
-
elsif
@ldap_servers
.
any?
=
render
'devise/sessions/new_ldap'
,
server:
@ldap_servers
.
first
-
elsif
signin_enabled?
=
render
'devise/sessions/new_base'
-
elsif
signin_enabled?
-
elsif
signin_enabled?
=
render
'devise/sessions/new_base'
=
render
'devise/sessions/new_base'
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