rosa-build/app/views/projects/build_lists/_submenu.html.haml

12 lines
475 B
Plaintext

- content_for :submenu do
- if @build_list
.left
= link_to @build_list.project.name, @build_list.project
- else
- if content_for?(:sidebar)
.left
%nav
%ul
%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)