You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by ma...@redhat.com on 2011/07/20 16:53:27 UTC

Typo in html interface for images - filter owner_id

Fix typo in links to filtering by owner_id in the html interface, 

marios

Re: [PATCH] Fix typo in html interface for index of images - filter by 'owner_id'

Posted by Michal Fojtik <mi...@mifo.sk>.
ACK
On Jul 20, 2011 4:53 PM, <ma...@redhat.com> wrote:
> From: marios <ma...@redhat.com>
>
>
> Signed-off-by: marios <ma...@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
>

[PATCH] Fix typo in html interface for index of images - filter by 'owner_id'

Posted by ma...@redhat.com.
From: marios <ma...@redhat.com>


Signed-off-by: marios <ma...@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