summaryrefslogtreecommitdiff
path: root/app/views/layouts/profile.html.haml
blob: 445a873b7436a7655e747e78d5be67e75552c1d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
!!! 5
%html{ :lang => "en"}
  = render "layouts/head"
  %body.profile
    = render "layouts/flash"
    = render "layouts/head_panel", :title => "Profile"
    .container-fluid
      .sidebar
        %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 "Design", profile_design_path, :class => current_page?(:controller => "profile", :action => :design) ? "current" : nil
          = link_to keys_path,  :class => controller.controller_name == "keys" ? "current" : nil do
            Keys
            - unless current_user.keys.empty?
              %span.label= current_user.keys.count
      .content
        .row
          .span10= yield
          .span4= render "layouts/projects_side"