2013-03-10 05:57:14 -04:00
|
|
|
%ul.nav.nav-tabs.dash-sidebar-tabs
|
|
|
|
%li.active
|
2013-06-19 06:52:25 -04:00
|
|
|
= link_to '#projects', 'data-toggle' => 'tab', id: 'sidebar-projects-tab' do
|
|
|
|
Projects
|
|
|
|
%span.badge= @projects_count
|
2013-03-10 05:57:14 -04:00
|
|
|
%li
|
2013-06-19 06:52:25 -04:00
|
|
|
= link_to '#groups', 'data-toggle' => 'tab', id: 'sidebar-groups-tab' do
|
|
|
|
Groups
|
|
|
|
%span.badge= @groups.count
|
2013-03-10 05:57:14 -04:00
|
|
|
|
|
|
|
.tab-content
|
|
|
|
.tab-pane.active#projects
|
|
|
|
= render "projects", projects: @projects
|
|
|
|
.tab-pane#groups
|
|
|
|
= render "groups", groups: @groups
|
|
|
|
|
|
|
|
.prepend-top-20
|
2012-12-04 04:18:13 -05:00
|
|
|
%span.rss-icon
|
|
|
|
= link_to dashboard_path(:atom, { private_token: current_user.private_token }) do
|
2013-03-10 05:57:14 -04:00
|
|
|
%strong
|
|
|
|
%i.icon-rss
|
|
|
|
News Feed
|
2012-12-04 04:18:13 -05:00
|
|
|
|
|
|
|
%hr
|
2013-04-19 11:09:14 -04:00
|
|
|
= render 'shared/promo'
|