gitlab-org--gitlab-foss/app/views/dashboard/_sidebar.html.haml
Dmitriy Zaporozhets 06a219baa5
Restyle group page and event filter
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-12-16 18:15:48 +02:00

18 lines
496 B
Text

%ul.nav.nav-tabs.dash-sidebar-tabs
%li.active
= link_to '#projects', 'data-toggle' => 'tab', id: 'sidebar-projects-tab' do
Projects
%span.badge= @projects_count
%li
= link_to '#groups', 'data-toggle' => 'tab', id: 'sidebar-groups-tab' do
Groups
%span.badge= @groups.count
.tab-content
.tab-pane.active#projects
= render "projects", projects: @projects
.tab-pane#groups
= render "groups", groups: @groups
.prepend-top-20
= render 'shared/promo'