gitlab-org--gitlab-foss/app/views/layouts/nav/_dashboard.html.haml

30 lines
989 B
Text
Raw Normal View History

%ul.nav.nav-sidebar
2013-04-01 15:30:48 -04:00
= nav_link(path: 'dashboard#show', html_options: {class: 'home'}) do
2014-08-21 04:14:31 -04:00
= link_to root_path, title: 'Home', class: 'shortcuts-activity' do
%i.fa.fa-dashboard
%span
Activity
2013-04-01 15:30:48 -04:00
= nav_link(path: 'dashboard#projects') do
2014-08-21 04:14:31 -04:00
= link_to projects_dashboard_path, class: 'shortcuts-projects' do
%i.fa.fa-cube
%span
Projects
2013-04-01 15:30:48 -04:00
= nav_link(path: 'dashboard#issues') do
2014-08-21 04:14:31 -04:00
= link_to issues_dashboard_path, class: 'shortcuts-issues' do
%i.fa.fa-exclamation-circle
%span
Issues
%span.count= current_user.assigned_issues.opened.count
2013-04-01 15:30:48 -04:00
= nav_link(path: 'dashboard#merge_requests') do
2014-08-21 04:14:31 -04:00
= link_to merge_requests_dashboard_path, class: 'shortcuts-merge_requests' do
%i.fa.fa-tasks
%span
Merge Requests
%span.count= current_user.assigned_merge_requests.opened.count
2013-04-01 15:30:48 -04:00
= nav_link(controller: :help) do
= link_to help_path do
%i.fa.fa-question-circle
%span
Help
2013-04-01 15:30:48 -04:00