[#369] build list index page: fix a button message

This commit is contained in:
Alexander Machehin 2014-11-05 21:06:41 +05:00
parent 5765279ec9
commit 9fadb6a5ae
1 changed files with 2 additions and 2 deletions

View File

@ -80,6 +80,6 @@
-if @project and can?(:create, @project.build_lists.build) -if @project and can?(:create, @project.build_lists.build)
.btn-group .btn-group
%button.btn.btn-default{ id: 'filter_new_build', type: 'button', %button.btn.btn-default{ id: 'filter_new_build', type: 'button',
onclick: "location.href='#{new_project_build_list_path(@project)}'", onclick: "location.href='#{new_project_build_list_path(@project)}'" }
value: t('layout.build_lists.new_header') } = t('layout.build_lists.new_header')
= hidden_field_tag :name_with_owner, @project.try(:name_with_owner) = hidden_field_tag :name_with_owner, @project.try(:name_with_owner)