Sha256: 96c37b740e7ab5515e8da032ebc7d8b11ec24be17cab569844a8426762c90298

Contents?: true

Size: 755 Bytes

Versions: 2

Compression:

Stored size: 755 Bytes

Contents

- unless defined?(partial)
  !!!XML
%storage_volume{ :href => storage_volume_url(@storage_volume.id), :id => @storage_volume.id}
  %created<
    =@storage_volume.created
  %capacity{ :unit => "GB" }<
    = @storage_volume.capacity
  %state<
    = @storage_volume.state
  - unless @storage_volume.instance_id.nil?
    %mount
      %instance{:href => @storage_volume.instance_id, :id => @storage_volume.instance_id}
      - unless @storage_volume.device.nil?
        %device{ :name => @storage_volume.device }
  - if @storage_volume.actions
    %actions
      - @storage_volume.actions.each do |action|
        %link{:rel => action, :method => action_method(action, :storage_volumes), :href => self.send("#{action}_storage_volume_url", @storage_volume.id)}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
steamcannon-deltacloud-core-0.1.1.2 views/storage_volumes/show.xml.haml
steamcannon-deltacloud-core-0.1.1.1 views/storage_volumes/show.xml.haml