[PATCH conductor] BZ 796052 - Image Import tab added to Environments page

Matt Wagner matt.wagner at redhat.com
Fri Feb 24 17:11:11 UTC 2012


The "Import Image" button, once scoped to environments, ended up
in an obscure location that no one could find. It now receives the
same billing as the "New Image" button.

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=796052
 (and is relevant to #796355)
---
 src/app/views/pool_families/_list.html.haml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/app/views/pool_families/_list.html.haml b/src/app/views/pool_families/_list.html.haml
index 0e89af0..2d50e0d 100644
--- a/src/app/views/pool_families/_list.html.haml
+++ b/src/app/views/pool_families/_list.html.haml
@@ -17,6 +17,7 @@
             .section-controls
               #obj_actions
                 = link_to t("pools.new_pool"), new_pool_path(:pool_family_id => pool_family.id), :class => 'pool_family_button'
+                = link_to t("images.import.import_image"), new_image_path(:environment => pool_family.id, :tab => 'import'), :class => 'new_image_button'
                 = link_to t("images.new.new_image"), new_image_path( :environment => pool_family.id), :class => 'new_image_button'
       - unless pool_family.pools.blank?
         %tr
-- 
1.7.6.5




More information about the aeolus-devel mailing list