2012-03-01 17:33:46 +00:00
|
|
|
- content_for :submenu do
|
2014-05-28 14:14:15 +01:00
|
|
|
%nav.navbar.navbar-default{role: "navigation"}
|
|
|
|
.container-fluid
|
|
|
|
/ Brand and toggle get grouped for better mobile display
|
|
|
|
%ul.nav.navbar-nav
|
|
|
|
- if @build_list
|
|
|
|
%li= link_to @build_list.project.name, @build_list.project
|
|
|
|
- else
|
|
|
|
%li{ class: ('active' if controller_name == 'build_lists') }
|
|
|
|
= link_to t('layout.projects.list_header'), build_lists_path
|
|
|
|
%li{ class: ('active' if controller_name == 'product_build_lists') }
|
|
|
|
= link_to t('layout.products.list_header'), product_build_lists_path
|