Sha256: 0ab625e9ff6f68ecf5b4f403d0a8fb450e42a81465304dd406f203a9e9143bd1

Contents?: true

Size: 840 Bytes

Versions: 2

Compression:

Stored size: 840 Bytes

Contents

- unless defined?(partial)
  !!! XML
%image{:href => image_url(@image.id), :id => @image.id}
  %name=@image.name
  %description=@image.description
  %owner_id=@image.owner_id
  %architecture=@image.architecture
  - if @image.state
    %state=@image.state
  - if @image.creation_time
    %creation_time=@image.creation_time
  - if @image.hardware_profiles
    %hardware_profiles
      - @image.hardware_profiles.each do |profile|
        %hardware_profile{ :href => hardware_profile_url(profile.id), :id => profile.id, :rel => :hardware_profile }
  %root_type=@image.root_type
  %actions
    %link{ :rel => 'create_instance', :method => :post, :href => "#{instances_url};image_id=#{@image.id}"}
    - if driver.respond_to? :destroy_image
      %link{ :rel => 'destroy_image', :method => :delete, :href => "#{destroy_image_url(@image.id)}" }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
deltacloud-core-1.1.2 views/images/show.xml.haml
deltacloud-core-1.1.1 views/images/show.xml.haml