diff options
author | gitlabhq <m@gitlabhq.com> | 2011-11-02 11:21:17 -0400 |
---|---|---|
committer | gitlabhq <m@gitlabhq.com> | 2011-11-02 11:21:17 -0400 |
commit | 5fb1b9ffe359fd6c13dfb427aa23c985dff87fe1 (patch) | |
tree | c81f42cd61a5c8fc42c52e743ce3684113498cf2 /app/views/layouts/application.html.haml | |
parent | 5e12f10c142ca5add14e5c752cf9ef6d88c4dfd8 (diff) | |
download | gitlab-ce-5fb1b9ffe359fd6c13dfb427aa23c985dff87fe1.tar.gz |
view refactoring
Diffstat (limited to 'app/views/layouts/application.html.haml')
-rw-r--r-- | app/views/layouts/application.html.haml | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index b525df4493e..8cc6325340b 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -19,11 +19,5 @@ = render :partial => "layouts/flash" = render :partial => "layouts/head_panel" %div{ :id => "main", :role => "main", :class => "container_4" } - - if @project && !@project.new_record? - .top_bar.container= render :partial => "projects/top_menu" - - if ["keys", "profile"].include?(controller.controller_name) - .top_bar.container= render :partial => "profile/top_menu" - - if admin_namespace? - .top_bar.container= render :partial => "admin/top_menu" = render :partial => "layouts/page_title" = yield |