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
|
2015-12-23 02:04:40 +05:30
|
|
|
= link_to dashboard_projects_path, title: 'Projects' do
|
2015-09-25 12:07:36 +05:30
|
|
|
= 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
|
2015-12-23 02:04:40 +05:30
|
|
|
= link_to activity_dashboard_path, class: 'shortcuts-activity', title: 'Activity' do
|
2015-09-25 12:07:36 +05:30
|
|
|
= 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-12-23 02:04:40 +05:30
|
|
|
= link_to dashboard_groups_path, title: 'Groups' do
|
2015-09-11 14:41:01 +05:30
|
|
|
= icon('group fw')
|
2015-04-26 12:48:37 +05:30
|
|
|
%span
|
|
|
|
Groups
|
|
|
|
= nav_link(controller: :milestones) do
|
2015-12-23 02:04:40 +05:30
|
|
|
= link_to dashboard_milestones_path, title: 'Milestones' do
|
2015-09-11 14:41:01 +05:30
|
|
|
= 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-12-23 02:04:40 +05:30
|
|
|
= link_to assigned_issues_dashboard_path, title: 'Issues', class: 'shortcuts-issues' do
|
2015-09-11 14:41:01 +05:30
|
|
|
= icon('exclamation-circle fw')
|
2015-04-26 12:48:37 +05:30
|
|
|
%span
|
|
|
|
Issues
|
2016-01-14 18:37:52 +05:30
|
|
|
%span.count= number_with_delimiter(current_user.assigned_issues.opened.count)
|
2015-09-25 12:07:36 +05:30
|
|
|
= nav_link(path: 'dashboard#merge_requests') do
|
2015-12-23 02:04:40 +05:30
|
|
|
= link_to assigned_mrs_dashboard_path, title: 'Merge Requests', class: 'shortcuts-merge_requests' do
|
2015-09-25 12:07:36 +05:30
|
|
|
= icon('tasks fw')
|
|
|
|
%span
|
|
|
|
Merge Requests
|
2016-01-14 18:37:52 +05:30
|
|
|
%span.count= number_with_delimiter(current_user.assigned_merge_requests.opened.count)
|
2015-09-25 12:07:36 +05:30
|
|
|
= nav_link(controller: :snippets) do
|
2015-12-23 02:04:40 +05:30
|
|
|
= link_to dashboard_snippets_path, title: 'Snippets' do
|
2015-09-25 12:07:36 +05:30
|
|
|
= icon('clipboard fw')
|
|
|
|
%span
|
|
|
|
Snippets
|
2014-09-02 18:07:02 +05:30
|
|
|
= nav_link(controller: :help) do
|
2015-12-23 02:04:40 +05:30
|
|
|
= link_to help_path, title: 'Help' do
|
2015-09-11 14:41:01 +05:30
|
|
|
= 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
|
2015-12-23 02:04:40 +05:30
|
|
|
= link_to profile_path, title: 'Profile Settings', data: {placement: 'bottom'} do
|
2015-09-25 12:07:36 +05:30
|
|
|
= icon('user fw')
|
|
|
|
%span
|
|
|
|
Profile Settings
|