summaryrefslogtreecommitdiff
path: root/app/views/layouts/nav/_dashboard.html.haml
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-06-13 12:43:25 +0200
committerJames Lopez <james@jameslopez.es>2016-06-13 12:43:25 +0200
commitad68bc63b5e7e8080e82d9febec05397c802d33d (patch)
treed9508d5bd96c8087d13b88051637bb442e877659 /app/views/layouts/nav/_dashboard.html.haml
parent41c06c311b9c5642f6056d0b34030980ebf507b3 (diff)
parentcc322603945816ed957da7c0efa56e2ef1016569 (diff)
downloadgitlab-ce-ad68bc63b5e7e8080e82d9febec05397c802d33d.tar.gz
Merge branches 'feature/project-export' and 'feature/project-import' of gitlab.com:gitlab-org/gitlab-ce into feature/project-import
# Conflicts: # app/models/project.rb # db/schema.rb # lib/gitlab/import_export/import_export_reader.rb
Diffstat (limited to 'app/views/layouts/nav/_dashboard.html.haml')
-rw-r--r--app/views/layouts/nav/_dashboard.html.haml25
1 files changed, 12 insertions, 13 deletions
diff --git a/app/views/layouts/nav/_dashboard.html.haml b/app/views/layouts/nav/_dashboard.html.haml
index fad4224e945..18cae5bf87f 100644
--- a/app/views/layouts/nav/_dashboard.html.haml
+++ b/app/views/layouts/nav/_dashboard.html.haml
@@ -1,7 +1,7 @@
%ul.nav.nav-sidebar
- = nav_link(path: ['root#index', 'projects#trending', 'projects#starred', 'dashboard/projects#index'], html_options: {class: 'home'}) do
- = link_to dashboard_projects_path, title: 'Projects' do
- = icon('bookmark fw')
+ = 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
+ = navbar_icon('project')
%span
Projects
= nav_link(controller: :todos) do
@@ -9,31 +9,31 @@
= icon('bell fw')
%span
Todos
- %span.count.todos-pending-count= number_with_delimiter(todos_pending_count)
+ %span.count= number_with_delimiter(todos_pending_count)
= nav_link(path: 'dashboard#activity') do
- = link_to activity_dashboard_path, class: 'shortcuts-activity', title: 'Activity' do
- = icon('dashboard fw')
+ = link_to activity_dashboard_path, class: 'dashboard-shortcuts-activity', title: 'Activity' do
+ = navbar_icon('activity')
%span
Activity
= nav_link(controller: [:groups, 'groups/milestones', 'groups/group_members']) do
= link_to dashboard_groups_path, title: 'Groups' do
- = icon('group fw')
+ = navbar_icon('group')
%span
Groups
= nav_link(controller: 'dashboard/milestones') do
= link_to dashboard_milestones_path, title: 'Milestones' do
- = icon('clock-o fw')
+ = navbar_icon('milestones')
%span
Milestones
= nav_link(path: 'dashboard#issues') do
- = link_to assigned_issues_dashboard_path, title: 'Issues', class: 'shortcuts-issues' do
- = icon('exclamation-circle fw')
+ = link_to assigned_issues_dashboard_path, title: 'Issues', class: 'dashboard-shortcuts-issues' do
+ = navbar_icon('issues')
%span
Issues
%span.count= number_with_delimiter(current_user.assigned_issues.opened.count)
= nav_link(path: 'dashboard#merge_requests') do
- = link_to assigned_mrs_dashboard_path, title: 'Merge Requests', class: 'shortcuts-merge_requests' do
- = icon('tasks fw')
+ = link_to assigned_mrs_dashboard_path, title: 'Merge Requests', class: 'dashboard-shortcuts-merge_requests' do
+ = navbar_icon('mr')
%span
Merge Requests
%span.count= number_with_delimiter(current_user.assigned_merge_requests.opened.count)
@@ -47,7 +47,6 @@
= icon('question-circle fw')
%span
Help
-
= nav_link(html_options: {class: profile_tab_class}) do
= link_to profile_path, title: 'Profile Settings', data: {placement: 'bottom'} do
= icon('user fw')