Sha256: 95a459cb17a9397b5c7e60ffd8b3ef006038d619c14a11d6829c344f0e2e6a97
Contents?: true
Size: 603 Bytes
Versions: 2
Compression:
Stored size: 603 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} #{cdata v} %content{:href => bucket_url(@blob.bucket) + '/' + @blob.id + '/content', :rel => 'blob_content'}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
deltacloud-core-1.0.1 | views/blobs/show.xml.haml |
deltacloud-core-1.0.0 | views/blobs/show.xml.haml |