2015-04-26 12:48:37 +05:30
|
|
|
%ul.nav.nav-sidebar
|
2016-06-16 23:09:34 +05:30
|
|
|
= nav_link(path: ['root#index', 'projects#trending', 'projects#starred', 'dashboard/projects#index'], html_options: {class: "#{project_tab_class} home"}) do
|
|
|
|
= link_to dashboard_projects_path, title: 'Projects', class: 'dashboard-shortcuts-projects' do
|
2015-04-26 12:48:37 +05:30
|
|
|
%span
|
2015-09-25 12:07:36 +05:30
|
|
|
Projects
|
2016-04-02 18:10:28 +05:30
|
|
|
= nav_link(controller: :todos) do
|
|
|
|
= link_to dashboard_todos_path, title: 'Todos' do
|
|
|
|
%span
|
|
|
|
Todos
|
2016-06-16 23:09:34 +05:30
|
|
|
%span.count= number_with_delimiter(todos_pending_count)
|
2015-09-25 12:07:36 +05:30
|
|
|
= nav_link(path: 'dashboard#activity') do
|
2016-06-16 23:09:34 +05:30
|
|
|
= link_to activity_dashboard_path, class: 'dashboard-shortcuts-activity', title: 'Activity' do
|
2015-04-26 12:48:37 +05:30
|
|
|
%span
|
2015-09-25 12:07:36 +05:30
|
|
|
Activity
|
2016-09-13 17:45:13 +05:30
|
|
|
- if koding_enabled?
|
|
|
|
= nav_link(controller: :koding) do
|
|
|
|
= link_to koding_path, title: 'Koding' do
|
|
|
|
%span
|
|
|
|
Koding
|
2016-06-02 11:05:42 +05:30
|
|
|
= nav_link(controller: [:groups, 'groups/milestones', 'groups/group_members']) do
|
2015-12-23 02:04:40 +05:30
|
|
|
= link_to dashboard_groups_path, title: 'Groups' do
|
2015-04-26 12:48:37 +05:30
|
|
|
%span
|
|
|
|
Groups
|
2016-06-02 11:05:42 +05:30
|
|
|
= nav_link(controller: 'dashboard/milestones') do
|
2015-12-23 02:04:40 +05:30
|
|
|
= link_to dashboard_milestones_path, title: 'Milestones' do
|
2015-04-26 12:48:37 +05:30
|
|
|
%span
|
|
|
|
Milestones
|
2014-09-02 18:07:02 +05:30
|
|
|
= nav_link(path: 'dashboard#issues') do
|
2016-06-16 23:09:34 +05:30
|
|
|
= link_to assigned_issues_dashboard_path, title: 'Issues', class: 'dashboard-shortcuts-issues' do
|
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)
|
2016-04-02 18:10:28 +05:30
|
|
|
= nav_link(path: 'dashboard#merge_requests') do
|
2016-06-16 23:09:34 +05:30
|
|
|
= link_to assigned_mrs_dashboard_path, title: 'Merge Requests', class: 'dashboard-shortcuts-merge_requests' do
|
2016-04-02 18:10:28 +05:30
|
|
|
%span
|
|
|
|
Merge Requests
|
|
|
|
%span.count= number_with_delimiter(current_user.assigned_merge_requests.opened.count)
|
2016-08-24 12:49:21 +05:30
|
|
|
= nav_link(controller: 'dashboard/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
|
|
|
%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-04-26 12:48:37 +05:30
|
|
|
%span
|
|
|
|
Help
|
2016-06-02 11:05:42 +05:30
|
|
|
= nav_link(html_options: {class: profile_tab_class}) 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
|
|
|
%span
|
|
|
|
Profile Settings
|