Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/users/index.html.haml')
-rw-r--r--app/views/admin/users/index.html.haml14
1 files changed, 2 insertions, 12 deletions
diff --git a/app/views/admin/users/index.html.haml b/app/views/admin/users/index.html.haml
index f9b631ed6cf..86b777d8458 100644
--- a/app/views/admin/users/index.html.haml
+++ b/app/views/admin/users/index.html.haml
@@ -1,17 +1,7 @@
- page_title _("Users")
-%ul.nav-links.nav-tabs.nav.js-users-tabs{ role: 'tablist' }
- %li.nav-item.js-users-tab-item{ role: 'presentation' }
- %a.nav-link{ href: '#users', class: active_when(params[:tab] != 'cohorts'), data: { toggle: 'tab' }, role: 'tab' }
- = s_('AdminUsers|Users')
- %li.nav-item.js-users-tab-item{ role: 'presentation' }
- %a.nav-link{ href: '#cohorts', class: active_when(params[:tab] == 'cohorts'), data: { toggle: 'tab' }, role: 'tab' }
- = s_('AdminUsers|Cohorts')
+= render 'tabs'
.tab-content
- .tab-pane{ id: 'users', class: ('active' if params[:tab] != 'cohorts') }
+ .tab-pane.active
= render 'users'
- .tab-pane{ id: 'cohorts', class: ('active' if params[:tab] == 'cohorts') }
- = render 'cohorts'
-
-