Skip to content

Commit

Permalink
Merge pull request #6498 from eduardoj/fix_monitor_breadcrumb
Browse files Browse the repository at this point in the history
Add monitor breadcrumb for projects
  • Loading branch information
bgeuken committed Dec 6, 2018
2 parents b5b43e3 + 615e900 commit e823f19
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
- if current_page?(project_show_path(@project))
%li.breadcrumb-item.active{ 'aria-current' => 'page' }
Overview
- if current_page?(project_requests_path(@project))
- elsif current_page?(project_monitor_path(@project))
%li.breadcrumb-item.active{ 'aria-current' => 'page' }
Monitor
- elsif current_page?(project_requests_path(@project))
%li.breadcrumb-item.active{ 'aria-current' => 'page' }
Requests
- elsif current_page?(project_users_path(@project))
Expand All @@ -22,4 +25,3 @@
- elsif current_page?(project_status_path(@project))
%li.breadcrumb-item.active{ 'aria-current' => 'page' }
Status

0 comments on commit e823f19

Please sign in to comment.