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: e4f630c6a18a317859c9cb33a8ea46dfa978813f (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
%ul.nav.nav-sidebar
  = nav_link(path: 'dashboard#show', html_options: {class: 'home'}) do
    = link_to root_path, title: 'Home', class: 'shortcuts-activity' do
      %i.fa.fa-dashboard
      %span
        Your Projects
  = nav_link(path: 'projects#starred') do
    = link_to starred_dashboard_projects_path, title: 'Starred Projects' do
      %i.fa.fa-star
      %span
        Starred Projects
  = nav_link(controller: :groups) do
    = link_to dashboard_groups_path, title: 'Groups' do
      %i.fa.fa-group
      %span
        Groups
  = nav_link(controller: :milestones) do
    = link_to dashboard_milestones_path, title: 'Milestones' do
      %i.fa.fa-clock-o
      %span
        Milestones
  = nav_link(path: 'dashboard#issues') do
    = link_to assigned_issues_dashboard_path, title: 'Issues', class: 'shortcuts-issues' do
      %i.fa.fa-exclamation-circle
      %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' do
      %i.fa.fa-tasks
      %span
        Merge Requests
        %span.count= current_user.assigned_merge_requests.opened.count
  = nav_link(controller: :help) do
    = link_to help_path, title: 'Help' do
      %i.fa.fa-question-circle
      %span
        Help