#339: updated build_list#show UI

This commit is contained in:
Vokhmin Alexey V 2014-01-14 22:14:14 +04:00
parent 0c6d4b8995
commit 09e360b8a9
2 changed files with 5 additions and 0 deletions

View File

@ -160,6 +160,10 @@
.flash_notify
.alert.alert-error= t('layout.build_lists.publish_with_extra_fail')
.both
%div{'ng-show' => 'build_list.can_publish && build_list.can_publish_in_future && !build_list.can_publish_into_repository'}
.flash_notify
.alert.alert-error= t('flash.build_list.not_all_build_lists_success')
.both
- if can?(:cancel, @build_list)
= link_to t("layout.build_lists.cancel"), cancel_build_list_path(@build_list),

View File

@ -18,6 +18,7 @@ json.build_list do
json.extra_build_lists_published @build_list.extra_build_lists_published?
json.can_publish_in_future can_publish_in_future?(@build_list)
json.can_publish_into_repository @build_list.can_publish_into_repository?
json.container_path container_url if @build_list.container_published?