Sha256: 9c2fa339b5ccb7acec79cd0725925d85a3a3f67af950431d078a0fa0d32a6535

Contents?: true

Size: 521 Bytes

Versions: 14

Compression:

Stored size: 521 Bytes

Contents

%h1= resource_class.model_name.human(count: :other)

.row
  .col-12
    = collection_table(collection: @collection, resource_class: resource_class) do |table|
      = table.column :filename do |resource|
        - resource.asset.blob.filename
      = table.column :blob_byte_size do |resource|
        - number_to_human_size(resource.asset.blob.byte_size)
      = table.column :actions do |resource|
        - capture_haml do
          = link_to(t('.download'), main_app.url_for(resource.asset), class: 'btn btn-primary')

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
cmor_files-0.0.60.pre app/views/cmor/files/file_details/index.html.haml
cmor_files-0.0.59.pre app/views/cmor/files/file_details/index.html.haml
cmor_files-0.0.58.pre app/views/cmor/files/file_details/index.html.haml
cmor_files-0.0.57.pre app/views/cmor/files/file_details/index.html.haml
cmor_files-0.0.56.pre app/views/cmor/files/file_details/index.html.haml
cmor_files-0.0.55.pre app/views/cmor/files/file_details/index.html.haml
cmor_files-0.0.54.pre app/views/cmor/files/file_details/index.html.haml
cmor_files-0.0.53.pre app/views/cmor/files/file_details/index.html.haml
cmor_files-0.0.52.pre app/views/cmor/files/file_details/index.html.haml
cmor_files-0.0.51.pre app/views/cmor/files/file_details/index.html.haml
cmor_files-0.0.50.pre app/views/cmor/files/file_details/index.html.haml
cmor_files-0.0.49.pre app/views/cmor/files/file_details/index.html.haml
cmor_files-0.0.48.pre app/views/cmor/files/file_details/index.html.haml
cmor_files-0.0.45.pre app/views/cmor/files/file_details/index.html.haml