debian-mirror-gitlab/app/views/layouts/nav/_dashboard.html.haml

68 lines
2.5 KiB
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
%ul
= 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
2017-08-17 22:00:37 +05:30
.shortcut-mappings
.key
= icon('arrow-up', 'aria-label' => 'hidden')
P
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: 'dashboard-shortcuts-activity', title: 'Activity' do
2017-08-17 22:00:37 +05:30
.shortcut-mappings
.key
= icon('arrow-up', 'aria-label' => 'hidden')
A
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
2017-08-17 22:00:37 +05:30
= link_to dashboard_groups_path, class: 'dashboard-shortcuts-groups', title: 'Groups' do
.shortcut-mappings
.key
= icon('arrow-up', 'aria-label' => 'hidden')
G
2015-04-26 12:48:37 +05:30
%span
Groups
2016-06-02 11:05:42 +05:30
= nav_link(controller: 'dashboard/milestones') do
2017-08-17 22:00:37 +05:30
= link_to dashboard_milestones_path, class: 'dashboard-shortcuts-milestones', title: 'Milestones' do
.shortcut-mappings
.key
= icon('arrow-up', 'aria-label' => 'hidden')
L
2015-04-26 12:48:37 +05:30
%span
Milestones
2014-09-02 18:07:02 +05:30
= nav_link(path: 'dashboard#issues') do
= link_to assigned_issues_dashboard_path, title: 'Issues', class: 'dashboard-shortcuts-issues' do
2017-08-17 22:00:37 +05:30
.shortcut-mappings
.key
= icon('arrow-up', 'aria-label' => 'hidden')
I
2015-04-26 12:48:37 +05:30
%span
Issues
2017-08-17 22:00:37 +05:30
.badge= number_with_delimiter(assigned_issuables_count(:issues))
2016-04-02 18:10:28 +05:30
= nav_link(path: 'dashboard#merge_requests') do
= link_to assigned_mrs_dashboard_path, title: 'Merge Requests', class: 'dashboard-shortcuts-merge_requests' do
2017-08-17 22:00:37 +05:30
.shortcut-mappings
.key
= icon('arrow-up', 'aria-label' => 'hidden')
M
2016-04-02 18:10:28 +05:30
%span
Merge Requests
2017-08-17 22:00:37 +05:30
.badge= number_with_delimiter(assigned_issuables_count(:merge_requests))
2016-08-24 12:49:21 +05:30
= nav_link(controller: 'dashboard/snippets') do
2017-08-17 22:00:37 +05:30
= link_to dashboard_snippets_path, class: 'dashboard-shortcuts-snippets', title: 'Snippets' do
.shortcut-mappings
.key
= icon('arrow-up', 'aria-label' => 'hidden')
S
2015-09-25 12:07:36 +05:30
%span
Snippets
2017-08-17 22:00:37 +05:30
%li.divider
%li
= link_to "Help", help_path, title: 'About GitLab CE', class: 'about-gitlab'