[PATCH aeolus-conductor] BZ#790250 Check Build Status on Show Image
mtaylor at redhat.com
mtaylor at redhat.com
Wed Feb 29 14:52:06 UTC 2012
From: Martyn Taylor <mtaylor at redhat.com>
---
src/app/views/images/show.html.haml | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/app/views/images/show.html.haml b/src/app/views/images/show.html.haml
index 7681cee..1d31d36 100644
--- a/src/app/views/images/show.html.haml
+++ b/src/app/views/images/show.html.haml
@@ -57,6 +57,8 @@
%h3= group[:type].name
- if @build and b = @builder.find_active_build(@build.id, driver)
= label_tag b.status
+ - elsif !@build and b = @builder.find_active_build_by_imageid(@image.id, driver)
+ = label_tag b.status
- elsif timg
= button_to t('.delete'), image_target_image_path(@image.id, timg.id), :method => :delete
- elsif @build and @build.id == @latest_build
--
1.7.6.4
More information about the aeolus-devel
mailing list