2014-12-25 03:13:45 -05:00
|
|
|
%ul.nav.nav-sidebar
|
2016-05-16 13:21:12 -04:00
|
|
|
= nav_link(path: ['root#index', 'projects#trending', 'projects#starred', 'dashboard/projects#index'], html_options: {class: "#{project_tab_class} home"}) do
|
2016-05-17 01:35:16 -04:00
|
|
|
= link_to dashboard_projects_path, title: 'Projects', class: 'dashboard-shortcuts-projects' do
|
2016-06-10 11:41:00 -04:00
|
|
|
%span
|
2015-08-20 04:59:05 -04:00
|
|
|
Projects
|
2016-02-20 08:59:59 -05:00
|
|
|
= nav_link(controller: :todos) do
|
|
|
|
= link_to dashboard_todos_path, title: 'Todos' do
|
2016-06-10 11:41:00 -04:00
|
|
|
%span
|
2016-02-20 08:59:59 -05:00
|
|
|
Todos
|
2016-06-10 13:27:05 -04:00
|
|
|
%span.count= number_with_delimiter(todos_pending_count)
|
2015-08-25 08:13:04 -04:00
|
|
|
= nav_link(path: 'dashboard#activity') do
|
2016-05-17 01:35:16 -04:00
|
|
|
= link_to activity_dashboard_path, class: 'dashboard-shortcuts-activity', title: 'Activity' do
|
2016-06-10 11:41:00 -04:00
|
|
|
%span
|
2016-05-05 13:00:40 -04:00
|
|
|
Activity
|
|
|
|
= nav_link(controller: [:groups, 'groups/milestones', 'groups/group_members']) do
|
|
|
|
= link_to dashboard_groups_path, title: 'Groups' do
|
2016-06-10 11:41:00 -04:00
|
|
|
%span
|
2016-05-05 13:00:40 -04:00
|
|
|
Groups
|
|
|
|
= nav_link(controller: 'dashboard/milestones') do
|
|
|
|
= link_to dashboard_milestones_path, title: 'Milestones' do
|
2016-06-10 11:41:00 -04:00
|
|
|
%span
|
2016-05-05 13:00:40 -04:00
|
|
|
Milestones
|
|
|
|
= nav_link(path: 'dashboard#issues') do
|
|
|
|
= link_to assigned_issues_dashboard_path, title: 'Issues', class: 'dashboard-shortcuts-issues' do
|
2016-06-10 11:41:00 -04:00
|
|
|
%span
|
2015-09-08 09:49:20 -04:00
|
|
|
Issues
|
2016-06-10 13:27:05 -04:00
|
|
|
%span.count= number_with_delimiter(current_user.assigned_issues.opened.count)
|
2016-02-17 17:36:13 -05:00
|
|
|
= nav_link(path: 'dashboard#merge_requests') do
|
2016-05-17 01:35:16 -04:00
|
|
|
= link_to assigned_mrs_dashboard_path, title: 'Merge Requests', class: 'dashboard-shortcuts-merge_requests' do
|
2016-06-10 11:41:00 -04:00
|
|
|
%span
|
2016-02-17 17:36:13 -05:00
|
|
|
Merge Requests
|
2016-06-10 13:27:05 -04:00
|
|
|
%span.count= number_with_delimiter(current_user.assigned_merge_requests.opened.count)
|
2016-07-21 17:12:08 -04:00
|
|
|
= nav_link(controller: 'dashboard/snippets') do
|
2015-12-02 08:05:10 -05:00
|
|
|
= link_to dashboard_snippets_path, title: 'Snippets' do
|
2016-06-10 11:41:00 -04:00
|
|
|
%span
|
2015-08-20 04:59:05 -04:00
|
|
|
Snippets
|
2015-04-15 05:12:58 -04:00
|
|
|
= nav_link(controller: :help) do
|
2015-12-02 08:05:10 -05:00
|
|
|
= link_to help_path, title: 'Help' do
|
2016-06-10 11:41:00 -04:00
|
|
|
%span
|
2015-04-15 05:12:58 -04:00
|
|
|
Help
|
2016-04-19 14:05:30 -04:00
|
|
|
= nav_link(html_options: {class: profile_tab_class}) do
|
2015-12-02 08:05:10 -05:00
|
|
|
= link_to profile_path, title: 'Profile Settings', data: {placement: 'bottom'} do
|
2016-06-10 11:41:00 -04:00
|
|
|
%span
|
2015-09-10 08:13:01 -04:00
|
|
|
Profile Settings
|