summaryrefslogtreecommitdiff
path: root/app/views/devise/shared/_tabs_ldap.html.haml
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2016-10-19 14:40:58 +0200
committerBryce Johnson <bryce@gitlab.com>2016-10-20 21:57:34 +0200
commit57046eb0abf280594d6625db3429f13d45499c83 (patch)
tree7e56d94e0d0a37b4c04e06cd17cf4351cfd3d3d1 /app/views/devise/shared/_tabs_ldap.html.haml
parent60eca5f7b5e38c09c8170682852c497c410a96ac (diff)
downloadgitlab-ce-57046eb0abf280594d6625db3429f13d45499c83.tar.gz
Ensure custom provider tab labels don't break layout.ldap-login-styles
(Also fix some issues for session views on small screens.)
Diffstat (limited to 'app/views/devise/shared/_tabs_ldap.html.haml')
-rw-r--r--app/views/devise/shared/_tabs_ldap.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/devise/shared/_tabs_ldap.html.haml b/app/views/devise/shared/_tabs_ldap.html.haml
index a057f126c45..1e957f0935f 100644
--- a/app/views/devise/shared/_tabs_ldap.html.haml
+++ b/app/views/devise/shared/_tabs_ldap.html.haml
@@ -1,4 +1,4 @@
-%ul.new-session-tabs.nav-links.nav-tabs
+%ul.new-session-tabs.nav-links.nav-tabs{ class: ('custom-provider-tabs' if form_based_providers.any?) }
- if crowd_enabled?
%li.active
= link_to "Crowd", "#crowd", 'data-toggle' => 'tab'