Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_dashboard.html.haml « nav « layouts « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b1a1d53184678bcb83ca59473b1169ca11e032ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
%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', data: {placement: 'right'} do
      = icon('home fw')
      %span
        Projects
  = nav_link(path: 'dashboard#activity') do
    = link_to activity_dashboard_path, class: 'shortcuts-activity', title: 'Activity', data: {placement: 'right'} do
      = icon('dashboard fw')
      %span
        Activity
  = nav_link(controller: :groups) do
    = link_to dashboard_groups_path, title: 'Groups', data: {placement: 'right'} do
      = icon('group fw')
      %span
        Groups
  = nav_link(controller: :milestones) do
    = link_to dashboard_milestones_path, title: 'Milestones', data: {placement: 'right'} do
      = icon('clock-o fw')
      %span
        Milestones
  = nav_link(path: 'dashboard#issues') do
    = link_to assigned_issues_dashboard_path, title: 'Issues', class: 'shortcuts-issues', data: {placement: 'right'} do
      = icon('exclamation-circle fw')
      %span
        Issues
        %span.count= 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', data: {placement: 'right'} do
        = icon('tasks fw')
        %span
          Merge Requests
          %span.count= current_user.assigned_merge_requests.opened.count
  = nav_link(controller: :snippets) do
    = link_to dashboard_snippets_path, title: 'Your snippets', data: {placement: 'right'} do
      = icon('clipboard fw')
      %span
        Snippets
  = nav_link(controller: :help) do
    = link_to help_path, title: 'Help', data: {placement: 'right'} do
      = icon('question-circle fw')
      %span
        Help

  %li.separate-item
  = nav_link(controller: :profile) do
    = link_to profile_path, title: 'Profile settings', data: {placement: 'bottom'} do
      = icon('user fw')
      %span
        Profile Settings