2014-12-25 03:13:45 -05:00
|
|
|
%ul.nav.nav-sidebar
|
2013-04-01 15:30:48 -04:00
|
|
|
= nav_link(path: 'dashboard#show', html_options: {class: 'home'}) do
|
2014-08-21 04:14:31 -04:00
|
|
|
= link_to root_path, title: 'Home', class: 'shortcuts-activity' do
|
2014-12-17 05:20:05 -05:00
|
|
|
%i.fa.fa-dashboard
|
2014-12-24 11:34:14 -05:00
|
|
|
%span
|
|
|
|
Activity
|
2013-04-01 15:30:48 -04:00
|
|
|
= nav_link(path: 'dashboard#projects') do
|
2014-08-21 04:14:31 -04:00
|
|
|
= link_to projects_dashboard_path, class: 'shortcuts-projects' do
|
2014-12-17 05:20:05 -05:00
|
|
|
%i.fa.fa-cube
|
2014-12-24 11:34:14 -05:00
|
|
|
%span
|
|
|
|
Projects
|
2013-04-01 15:30:48 -04:00
|
|
|
= nav_link(path: 'dashboard#issues') do
|
2014-08-21 04:14:31 -04:00
|
|
|
= link_to issues_dashboard_path, class: 'shortcuts-issues' do
|
2014-12-17 05:20:05 -05:00
|
|
|
%i.fa.fa-exclamation-circle
|
2014-12-24 11:34:14 -05:00
|
|
|
%span
|
|
|
|
Issues
|
|
|
|
%span.count= current_user.assigned_issues.opened.count
|
2013-04-01 15:30:48 -04:00
|
|
|
= nav_link(path: 'dashboard#merge_requests') do
|
2014-08-21 04:14:31 -04:00
|
|
|
= link_to merge_requests_dashboard_path, class: 'shortcuts-merge_requests' do
|
2014-12-17 05:20:05 -05:00
|
|
|
%i.fa.fa-tasks
|
2014-12-24 11:34:14 -05:00
|
|
|
%span
|
|
|
|
Merge Requests
|
|
|
|
%span.count= current_user.assigned_merge_requests.opened.count
|
2013-04-01 15:30:48 -04:00
|
|
|
= nav_link(controller: :help) do
|
2014-12-17 05:20:05 -05:00
|
|
|
= link_to help_path do
|
|
|
|
%i.fa.fa-question-circle
|
2014-12-24 11:34:14 -05:00
|
|
|
%span
|
|
|
|
Help
|
2013-04-01 15:30:48 -04:00
|
|
|
|