Remove app_menu and project_menu partials

Now it's consistent across layouts where their main menus are.
This commit is contained in:
Robert Speicher 2012-09-26 17:00:52 -04:00
parent 8432c9c176
commit d8f7748dea
4 changed files with 50 additions and 58 deletions

View file

@ -5,6 +5,20 @@
= render "layouts/flash"
= render "layouts/head_panel", title: "Dashboard"
.container
= render partial: "layouts/app_menu"
.content
= yield
%ul.main_menu
= nav_link(path: 'dashboard#index', html_options: {class: 'home'}) do
= link_to "Home", root_path, title: "Home"
= nav_link(path: 'dashboard#issues') do
= link_to dashboard_issues_path do
Issues
%span.count= current_user.assigned_issues.opened.count
= nav_link(path: 'dashboard#merge_requests') do
= link_to dashboard_merge_requests_path do
Merge Requests
%span.count= current_user.cared_merge_requests.count
= nav_link(path: 'search#show') do
= link_to "Search", search_path
= nav_link(path: 'help#index') do
= link_to "Help", help_path
.content= yield