profile.html.haml 843 Bytes
Newer Older
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
1
!!! 5
2
%html{ lang: "en"}
3
  = render "layouts/head", title: "Profile"
4 5
  %body{class: "#{app_theme} profile"}
    = render "layouts/head_panel", title: "Profile"
6
    = render "layouts/flash"
7
    .container
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
8
      %ul.main_menu
9
        = nav_link(path: 'profiles#show', html_options: {class: 'home'}) do
10 11
          = link_to profile_path, title: "Profile" do
            %i.icon-home
12 13
        = nav_link(path: 'profiles#account') do
          = link_to "Account", account_profile_path
14
        = nav_link(controller: :keys) do
randx's avatar
randx committed
15 16 17
          = link_to keys_path do
            SSH Keys
            %span.count= current_user.keys.count
18 19 20 21
        = nav_link(path: 'profiles#design') do
          = link_to "Design", design_profile_path
        = nav_link(path: 'profiles#history') do
          = link_to "History", history_profile_path
22

23
      .content= yield