diff --git a/app/views/operator/jobs/_job_tr.html.erb b/app/views/operator/jobs/_job_tr.html.erb index 4726339..7d152d1 100644 --- a/app/views/operator/jobs/_job_tr.html.erb +++ b/app/views/operator/jobs/_job_tr.html.erb @@ -17,13 +17,13 @@ <% if job.pdf.attached? %> - <%#= link_to job.pdf.filename, rails_blob_path(job.pdf, disposition: "attachment") %> + <% #= link_to job.pdf.filename, rails_blob_path(job.pdf, disposition: "attachment") %> <%= link_to_if job.printing?, truncate(job.pdf.filename.to_s, length: 45), job.pdf, download:true %> <% if job.printing? %> <%= link_to job.pdf, download:true do %> <%= icon("document-arrow-down", class: "text-hsrm-gray size-6 inline", title: "Download") %> - <%=number_to_human_size job.pdf.blob.byte_size%> + <%= number_to_human_size job.pdf.blob.byte_size %> <% end %> <% end %>