[PATCH 2/2] BZ 790827 wrap return_to section in span.return_to for easier formatting

Tzu-Mainn Chen tzumainn at redhat.com
Mon Feb 20 16:42:15 UTC 2012


---
 src/app/views/images/show.html.haml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/app/views/images/show.html.haml b/src/app/views/images/show.html.haml
index 18f1ab2..c4ad8d7 100644
--- a/src/app/views/images/show.html.haml
+++ b/src/app/views/images/show.html.haml
@@ -2,8 +2,9 @@
 %header.admin-page-header
   %h1{:class => controller.controller_name}= @image.imported? ? @image.name + " (Imported)" : @image.name
   #obj_actions.button-container.images
-    =t'return_to'
-    = link_to t('images.index.images'), images_path, :class => 'rounded-link'
+    %span.return_to
+      =t'return_to'
+      = link_to t('images.index.images'), images_path, :class => 'rounded-link'
     - if check_privilege(Privilege::USE, PoolFamily)
       .button-group
         - if @environment
-- 
1.7.6.5




More information about the aeolus-devel mailing list