2012-03-01 17:33:46 +00:00
|
|
|
- content_for :submenu do
|
2012-03-18 08:20:31 +00:00
|
|
|
- if @build_list
|
2012-03-01 17:33:46 +00:00
|
|
|
.left
|
2012-03-19 14:58:13 +00:00
|
|
|
= link_to @build_list.project.name, @build_list.project
|
2012-03-18 08:20:31 +00:00
|
|
|
- else
|
|
|
|
- if content_for?(:sidebar)
|
|
|
|
.left
|
|
|
|
%nav
|
|
|
|
%ul
|
2014-01-21 04:51:49 +00:00
|
|
|
%li= link_to t('layout.projects.list_header'), build_lists_path, class: (controller_name == 'build_lists' ? 'active' : nil)
|
|
|
|
%li= link_to t('layout.products.list_header'), product_build_lists_path, class: (controller_name == 'product_build_lists' ? 'active' : nil)
|