From: Martyn Taylor <mtaylor(a)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((a)build.id, driver)
= label_tag b.status
+ - elsif !@build and b =
@builder.find_active_build_by_imageid((a)image.id, driver)
+ = label_tag b.status
- elsif timg
= button_to t('.delete'), image_target_image_path((a)image.id,
timg.id), :method => :delete
- elsif @build and @build.id == @latest_build
--
1.7.6.4
Show replies by date