BigW Consortium Gitlab

_sidebar.html.haml 654 Bytes
Newer Older
1 2
%ul.nav.nav-tabs.dash-sidebar-tabs
  %li.active
3 4 5
    = link_to '#projects', 'data-toggle' => 'tab', id: 'sidebar-projects-tab' do
      Projects
      %span.badge= @projects_count
6
  %li
7 8 9
    = link_to '#groups', 'data-toggle' => 'tab', id: 'sidebar-groups-tab' do
      Groups
      %span.badge= @groups.count
10 11 12 13 14 15 16 17

.tab-content
  .tab-pane.active#projects
    = render "projects", projects: @projects
  .tab-pane#groups
    = render "groups", groups: @groups

.prepend-top-20
18 19
  %span.rss-icon
    = link_to dashboard_path(:atom, { private_token: current_user.private_token }) do
20 21 22
      %strong
        %i.icon-rss
        News Feed
23 24

%hr
25
= render 'shared/promo'