From: Martyn Taylor <mtaylor(a)redhat.com>
---
src/app/views/api/builds/index.xml.haml | 2 +-
src/app/views/api/images/index.xml.haml | 2 +-
src/app/views/api/provider_images/_image.xml.haml | 1 -
src/app/views/api/provider_images/index.xml.haml | 2 +-
src/app/views/api/target_images/_image.xml.haml | 1 -
src/app/views/api/target_images/index.xml.haml | 2 +-
6 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/app/views/api/builds/index.xml.haml
b/src/app/views/api/builds/index.xml.haml
index aca031c..56b5444 100644
--- a/src/app/views/api/builds/index.xml.haml
+++ b/src/app/views/api/builds/index.xml.haml
@@ -1,4 +1,4 @@
!!! XML
-%builds{:type => 'xs:list'}
+%builds
- @builds.each do |bld|
= render :partial => 'build', :locals => {:build => bld}
diff --git a/src/app/views/api/images/index.xml.haml
b/src/app/views/api/images/index.xml.haml
index 62262ec..02933d8 100644
--- a/src/app/views/api/images/index.xml.haml
+++ b/src/app/views/api/images/index.xml.haml
@@ -1,4 +1,4 @@
!!!XML
-%images{:type => 'xs:list', :href => api_images_url}
+%images
- @images.each do |img|
= render :partial => 'image', :locals => {:image => img}
diff --git a/src/app/views/api/provider_images/_image.xml.haml
b/src/app/views/api/provider_images/_image.xml.haml
index 788fabd..54dd9fa 100644
--- a/src/app/views/api/provider_images/_image.xml.haml
+++ b/src/app/views/api/provider_images/_image.xml.haml
@@ -3,7 +3,6 @@
- if @image.respond_to?('status')
%status=(a)image.status
- else
- %icicle= image.icicle
%object_type= image.object_type
%target_identifier= image.target_identifier
%status="COMPLETE"
diff --git a/src/app/views/api/provider_images/index.xml.haml
b/src/app/views/api/provider_images/index.xml.haml
index fd7d01e..f6960bd 100644
--- a/src/app/views/api/provider_images/index.xml.haml
+++ b/src/app/views/api/provider_images/index.xml.haml
@@ -1,4 +1,4 @@
!!!XML
-%provider_images{:type => 'xs:list', :href=>api_provider_images_url}
+%provider_images
- @images.each do |img|
= render :partial => 'image', :locals => {:image => img}
diff --git a/src/app/views/api/target_images/_image.xml.haml
b/src/app/views/api/target_images/_image.xml.haml
index 499b329..a112a24 100644
--- a/src/app/views/api/target_images/_image.xml.haml
+++ b/src/app/views/api/target_images/_image.xml.haml
@@ -3,7 +3,6 @@
- if @image.respond_to?('status')
%status=(a)image.status
- else
- %icicle= image.icicle
%object_type= image.object_type
%template= image.template
%build{:href=>api_build_url(image.build.id), :id=>image.build.id}
diff --git a/src/app/views/api/target_images/index.xml.haml
b/src/app/views/api/target_images/index.xml.haml
index 995f613..aad4ec2 100644
--- a/src/app/views/api/target_images/index.xml.haml
+++ b/src/app/views/api/target_images/index.xml.haml
@@ -1,4 +1,4 @@
!!!XML
-%target_images{:type => 'xs:list', :href=>api_target_images_url}
+%target_images
- @images.each do |img|
= render :partial => 'image', :locals => {:image => img}
--
1.7.6.2
_______________________________________________
aeolus-devel mailing list
aeolus-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/aeolus-devel