From: Imre Farkas<ifarkas(a)redhat.com>
https://bugzilla.redhat.com/show_bug.cgi?id=781353
---
src/app/views/images/show.html.haml | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/src/app/views/images/show.html.haml b/src/app/views/images/show.html.haml
index 4405deb..ed2e7f3 100644
--- a/src/app/views/images/show.html.haml
+++ b/src/app/views/images/show.html.haml
@@ -28,15 +28,16 @@
%li
%dl
%dt
- %h3= group[:type].name
- - if @build and b = @builder.find_active_build((a)build.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
- = button_to t('.build'), image_target_images_path((a)image.id,
:target => driver, :build_id => @build ? @build.id : nil), :method => :post
- - else
-
+ .build-actions
+ %h3= group[:type].name
+ - if @build and b = @builder.find_active_build((a)build.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
+ = button_to t('.build'), image_target_images_path((a)image.id,
:target => driver, :build_id => @build ? @build.id : nil), :method => :post
+ - else
+
%dd
%table.light_table
%thead