Sha256: 8b3666574d8f9df60abf908ad5d3e102351895ae2a7cb60f049f7d40b69f41b9

Contents?: true

Size: 501 Bytes

Versions: 3

Compression:

Stored size: 501 Bytes

Contents

%h1 Bucket
%h2
  = @bucket.id

%dl
  %di
    %dt Name
    %dd
      = @bucket.name
    %dt Size
    %dd
      = @bucket.size
    %dt Blobs
    %dd
      -@bucket.blob_list.each do |blob|
        = link_to blob, bucket_url(@bucket.name) + '/' + blob
    %dt Create a new blob
    %dd
      =link_to 'Create Blob', bucket_url(@bucket.name) + '/new_blob'
    %dt Delete bucket (must be empty)
    %dd
      -if @bucket.size == 0
        =link_to_action 'Delete', destroy_bucket_url(@bucket.name), :delete

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
deltacloud-core-0.3.0 views/buckets/show.html.haml
steamcannon-deltacloud-core-0.1.2.1 views/buckets/show.html.haml
deltacloud-core-0.1.2 views/buckets/show.html.haml