2020-07-28 23:09:34 +05:30
|
|
|
- page_title _("Users")
|
2015-09-11 14:41:01 +05:30
|
|
|
|
2021-03-11 19:13:27 +05:30
|
|
|
%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', track: { event: 'i_analytics_cohorts', action: 'click_tab' } }, role: 'tab' }
|
|
|
|
= s_('AdminUsers|Cohorts')
|
2019-03-02 22:35:43 +05:30
|
|
|
|
2021-03-11 19:13:27 +05:30
|
|
|
.tab-content
|
|
|
|
.tab-pane{ id: 'users', class: ('active' if params[:tab] != 'cohorts') }
|
|
|
|
= render 'users'
|
|
|
|
.tab-pane{ id: 'cohorts', class: ('active' if params[:tab] == 'cohorts') }
|
|
|
|
= render 'cohorts'
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2016-01-19 16:12:03 +05:30
|
|
|
|