Sha256: 3528a47536de139d4f041f5b730f3c4ef80e35a8468eaf900cb70409590038cb

Contents?: true

Size: 604 Bytes

Versions: 1

Compression:

Stored size: 604 Bytes

Contents

- if attachment
  / li = attachment.inspect
  li.template-download
    .file_icon = image_tag 'cabinet/file_uploader_icon.png'
    .files_list_info
      span = attachment.filename.try(:truncate, 128)
      a href="#{account_order_attachment_path(order_id: @order.number, id: attachment.id)}"
        = t(:download_link, scope: [:account, :order, :text])
      i
        / - if attachment.extention.present?
        /   = attachment.extention.upcase
        /   ' ,
        em.date = l attachment.parsed_created_at, format: '%b %e, %l:%M %P'
        em.size = number_to_human_size(attachment.try(:size))

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/views/account/orders/_attachment.html.slim