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

application.html.haml « layouts « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a41de538436d34c5c956d855b8bb2fb17ec3b258 (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
!!! 5
%html{ lang: "en"}
  = render "layouts/head", title: "Dashboard"
  %body{class: "#{app_theme} application"}
    = render "layouts/flash"
    = render "layouts/head_panel", title: "Dashboard"
    .container
      %ul.main_menu
        = nav_link(path: 'dashboard#index', html_options: {class: 'home'}) do
          = link_to "Home", root_path, title: "Home"
        = nav_link(path: 'dashboard#issues') do
          = link_to dashboard_issues_path do
            Issues
            %span.count= current_user.assigned_issues.opened.count
        = nav_link(path: 'dashboard#merge_requests') do
          = link_to dashboard_merge_requests_path do
            Merge Requests
            %span.count= current_user.cared_merge_requests.count
        = nav_link(path: 'search#show') do
          = link_to "Search", search_path
        = nav_link(path: 'help#index') do
          = link_to "Help", help_path

      .content= yield