diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-01 22:30:48 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-01 22:30:48 +0300 |
commit | 8cadeb67502d9f674dc69c0b05341269c2baeb8f (patch) | |
tree | 5e950d9341b3f97d7693d05842585f84505d7a8b /app/views/layouts/profile.html.haml | |
parent | 19ab03f4612a2e622098bc199538380b011754c1 (diff) | |
download | gitlab-ce-8cadeb67502d9f674dc69c0b05341269c2baeb8f.tar.gz |
nav views refactoring
Diffstat (limited to 'app/views/layouts/profile.html.haml')
-rw-r--r-- | app/views/layouts/profile.html.haml | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/app/views/layouts/profile.html.haml b/app/views/layouts/profile.html.haml index a7225baa9e4..535f94c4ef6 100644 --- a/app/views/layouts/profile.html.haml +++ b/app/views/layouts/profile.html.haml @@ -4,22 +4,8 @@ %body{class: "#{app_theme} profile"} = render "layouts/head_panel", title: "Profile" = render "layouts/flash" - .container - %ul.main_menu - = nav_link(path: 'profiles#show', html_options: {class: 'home'}) do - = link_to profile_path, title: "Profile" do - %i.icon-home - = nav_link(path: 'profiles#account') do - = link_to "Account", account_profile_path - = nav_link(controller: :notifications) do - = link_to "Notifications", profile_notifications_path - = nav_link(controller: :keys) do - = link_to keys_path do - SSH Keys - %span.count= current_user.keys.count - = nav_link(path: 'profiles#design') do - = link_to "Design", design_profile_path - = nav_link(path: 'profiles#history') do - = link_to "History", history_profile_path + %nav.main-nav + .container= render 'layouts/nav/profile' + .container .content= yield |