#880: fix UI for creating container

This commit is contained in:
Vokhmin Alexey V 2013-02-04 17:54:09 +04:00
parent c8ae6053af
commit 6e440d56ff
1 changed files with 3 additions and 3 deletions

View File

@ -143,9 +143,9 @@
= submit_tag t("layout.publish"), :confirm => t("layout.confirm"), :name => 'publish'
- if @build_list.can_reject_publish? && can?(:reject_publish, @build_list)
= submit_tag t("layout.reject_publish"), :confirm => t("layout.confirm"), :name => 'reject_publish'
- if @build_list.can_create_container? && can?(:create_container, @build_list)
= link_to t("layout.build_lists.create_container"), create_container_build_list_path(@build_list),
:method => :put, :confirm => t("layout.confirm"), :class => 'button'
- if @build_list.can_create_container? && can?(:create_container, @build_list)
= link_to t("layout.build_lists.create_container"), create_container_build_list_path(@build_list),
:method => :put, :confirm => t("layout.confirm"), :class => 'button'
.hr
%h3= t("layout.build_lists.items_header")