2015-04-26 12:48:37 +05:30
|
|
|
%ul.nav.nav-sidebar
|
2015-09-25 12:07:36 +05:30
|
|
|
= nav_link(path: ['root#index', 'projects#trending', 'projects#starred', 'dashboard/projects#index'], html_options: {class: 'home'}) do
|
|
|
|
= link_to root_path, title: 'Projects', data: {placement: 'right'} do
|
|
|
|
= icon('home fw')
|
2015-04-26 12:48:37 +05:30
|
|
|
%span
|
2015-09-25 12:07:36 +05:30
|
|
|
Projects
|
|
|
|
= nav_link(path: 'dashboard#activity') do
|
|
|
|
= link_to activity_dashboard_path, class: 'shortcuts-activity', title: 'Activity', data: {placement: 'right'} do
|
|
|
|
= icon('dashboard fw')
|
2015-04-26 12:48:37 +05:30
|
|
|
%span
|
2015-09-25 12:07:36 +05:30
|
|
|
Activity
|
2015-04-26 12:48:37 +05:30
|
|
|
= nav_link(controller: :groups) do
|
2015-09-11 14:41:01 +05:30
|
|
|
= link_to dashboard_groups_path, title: 'Groups', data: {placement: 'right'} do
|
|
|
|
= icon('group fw')
|
2015-04-26 12:48:37 +05:30
|
|
|
%span
|
|
|
|
Groups
|
|
|
|
= nav_link(controller: :milestones) do
|
2015-09-11 14:41:01 +05:30
|
|
|
= link_to dashboard_milestones_path, title: 'Milestones', data: {placement: 'right'} do
|
|
|
|
= icon('clock-o fw')
|
2015-04-26 12:48:37 +05:30
|
|
|
%span
|
|
|
|
Milestones
|
2014-09-02 18:07:02 +05:30
|
|
|
= nav_link(path: 'dashboard#issues') do
|
2015-09-11 14:41:01 +05:30
|
|
|
= link_to assigned_issues_dashboard_path, title: 'Issues', class: 'shortcuts-issues', data: {placement: 'right'} do
|
|
|
|
= icon('exclamation-circle fw')
|
2015-04-26 12:48:37 +05:30
|
|
|
%span
|
|
|
|
Issues
|
|
|
|
%span.count= current_user.assigned_issues.opened.count
|
2015-09-25 12:07:36 +05:30
|
|
|
= nav_link(path: 'dashboard#merge_requests') do
|
|
|
|
= link_to assigned_mrs_dashboard_path, title: 'Merge Requests', class: 'shortcuts-merge_requests', data: {placement: 'right'} do
|
|
|
|
= icon('tasks fw')
|
|
|
|
%span
|
|
|
|
Merge Requests
|
|
|
|
%span.count= current_user.assigned_merge_requests.opened.count
|
|
|
|
= nav_link(path: ['ci/projects#index', 'ci/projects#disabled']) do
|
|
|
|
= link_to ci_projects_path, title: 'Continuous Integration', data: {placement: 'right'} do
|
|
|
|
= icon('building fw')
|
2015-04-26 12:48:37 +05:30
|
|
|
%span
|
2015-09-25 12:07:36 +05:30
|
|
|
Continuous Integration
|
|
|
|
= nav_link(controller: :snippets) do
|
|
|
|
= link_to dashboard_snippets_path, title: 'Your snippets', data: {placement: 'right'} do
|
|
|
|
= icon('clipboard fw')
|
|
|
|
%span
|
|
|
|
Snippets
|
2014-09-02 18:07:02 +05:30
|
|
|
= nav_link(controller: :help) do
|
2015-09-11 14:41:01 +05:30
|
|
|
= link_to help_path, title: 'Help', data: {placement: 'right'} do
|
|
|
|
= icon('question-circle fw')
|
2015-04-26 12:48:37 +05:30
|
|
|
%span
|
|
|
|
Help
|
2015-09-25 12:07:36 +05:30
|
|
|
|
|
|
|
%li.separate-item
|
|
|
|
= nav_link(controller: :profile) do
|
|
|
|
= link_to profile_path, title: 'Profile settings', data: {placement: 'bottom'} do
|
|
|
|
= icon('user fw')
|
|
|
|
%span
|
|
|
|
Profile Settings
|