#339: updated build_list#show UI
This commit is contained in:
parent
0c6d4b8995
commit
09e360b8a9
|
@ -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),
|
||||
|
|
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue