Sha256: 7c61e84f67cf5d1101c90bd9698dd7ee4f829f7cf8b43a46365ee9aa4c4f8f2e

Contents?: true

Size: 782 Bytes

Versions: 4

Compression:

Stored size: 782 Bytes

Contents

.row
  .col-12
    %h1= @resource.name

.row
  .col-12
    .table-responsive
      = collection_table(collection: @resource.file_details, resource_class: Cmor::Files::FileDetail, header: false) do |table|
        = table.column :filename do |resource|
          - resource.asset.blob.filename.to_s.truncate(64)
        = table.column :blob_byte_size do |resource|
          - number_to_human_size(resource.asset.blob.byte_size)
        = table.column :actions do |resource|
          - capture_haml do
            .text-right
              = link_to(main_app.url_for(resource.asset), class: 'btn btn-primary') do
                = files_helper(self).asset_download_button_label(resource.asset)


.row.mt-4
  .col-12
    = link_to(t('.back'), last_location, class: 'btn btn-primary')

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cmor_files-0.0.58.pre app/views/cmor/files/folders/show.html.haml
cmor_files-0.0.57.pre app/views/cmor/files/folders/show.html.haml
cmor_files-0.0.56.pre app/views/cmor/files/folders/show.html.haml
cmor_files-0.0.55.pre app/views/cmor/files/folders/show.html.haml