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

user.html.haml « layouts « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5a936450800bfb2a610a25f5d5bb57ca1868bb19 (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
!!!
%html
  %head
    %title
      GitLab #{" - #{current_user.name}"}
    = stylesheet_link_tag    "application"
    = javascript_include_tag "application"
    = csrf_meta_tags
    = javascript_tag do
      REQ_URI = "#{request.env["REQUEST_URI"]}";
      REQ_REFFER = "#{request.env["HTTP_REFERER"]}";
  %body{ :class => body_class('project-page'), :id => yield(:boyd_id)}
    = render :partial => "layouts/flash"
    #container
      = render :partial => "layouts/head_panel"
      .project-container
        .project-sidebar
          .fixed
            %aside
              = link_to issues_path, :class => current_page?(issues_path) ? "current" : nil do
                Issues
                - unless current_user.assigned_issues.empty?
                  %span{ :class => "number" }= current_user.assigned_issues.count
              = link_to merge_requests_path, :class => current_page?(merge_requests_path) ? "current" : nil do
                Merge Requests
                - unless current_user.assigned_merge_requests.empty?
                  %span{ :class => "number" }= current_user.assigned_merge_requests.count

        .project-content
          = yield