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

profile.html.haml « layouts « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c8c48138775a54db9e2c4e8a0329123fd6a33655 (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
!!!
%html
  %head
    %title
      GitLab #{" - #{@project.name}" if @project && !@project.new_record?}
    = 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 "Profile", profile_path, :class => current_page?(:controller => "profile", :action => :show) ? "current" : nil
              = link_to "Password & token", profile_password_path,  :class => current_page?(:controller => "profile", :action => :password) ? "current" : nil
              = link_to keys_path,  :class => controller.controller_name == "keys" ? "current" : nil do
                Keys
                - unless current_user.keys.empty?
                  %span{ :class => "number" }= current_user.keys.count

        .project-content
          = yield