Sha256: c226a58a8d67126e4fcdf524a87d35ae4b71118a253ae605a578c9ca2843260a

Contents?: true

Size: 598 Bytes

Versions: 7

Compression:

Stored size: 598 Bytes

Contents

!!! XML
%blob{:href => bucket_url(@blob.bucket) + '/' + @blob.id, :id => @blob.id}
  %bucket=@blob.bucket
  - @blob.attributes.select{ |attr| (attr!=:id && attr!=:user_metadata) }.each do |attribute|
    - next if attribute == :bucket
    - unless attribute == :content
      - haml_tag(attribute, :<) do
        - haml_concat @blob.send(attribute)
  %user_metadata
    - if @blob.user_metadata.respond_to? :each
      - @blob.user_metadata.each do |k, v|
        %entry{:key => k}=render_cdata(v)
  %content{:href => bucket_url(@blob.bucket) + '/' + @blob.id + '/content', :rel => 'blob_content'}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
deltacloud-core-1.1.2 views/blobs/show.xml.haml
deltacloud-core-1.1.1 views/blobs/show.xml.haml
deltacloud-core-1.1.0 views/blobs/show.xml.haml
deltacloud-core-1.0.5 views/blobs/show.xml.haml
deltacloud-core-1.0.4 views/blobs/show.xml.haml
deltacloud-core-1.0.3 views/blobs/show.xml.haml
deltacloud-core-1.0.2 views/blobs/show.xml.haml