incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@redhat.com
Subject [PATCH] Fix typo in html interface for index of images - filter by 'owner_id'
Date Wed, 20 Jul 2011 14:53:28 GMT
From: marios <marios@redhat.com>


Signed-off-by: marios <marios@redhat.com>
---
 server/views/images/index.html.haml |    2 +-
 server/views/images/show.html.haml  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/views/images/index.html.haml b/server/views/images/index.html.haml
index b9ef869..b355588 100644
--- a/server/views/images/index.html.haml
+++ b/server/views/images/index.html.haml
@@ -19,7 +19,7 @@
         %td
           = image.name
         %td
-          = link_to image.owner_id, images_url
+          = link_to image.owner_id, images_url + "?owner_id=#{image.owner_id}"
         %td
           = image.description
 
diff --git a/server/views/images/show.html.haml b/server/views/images/show.html.haml
index 9183588..232ed49 100644
--- a/server/views/images/show.html.haml
+++ b/server/views/images/show.html.haml
@@ -9,7 +9,7 @@
       = @image.name
     %dt Owner
     %dd
-      = link_to @image.owner_id, image_url( :owner_id => @image.owner_id )
+      = link_to @image.owner_id, images_url + "?owner_id=#{@image.owner_id}"
     %dt Architecture
     %dd
       = @image.architecture
-- 
1.7.3.4


Mime
View raw message