Formated fix
This commit is contained in:
@@ -17,13 +17,13 @@
|
||||
</td>
|
||||
<td class="p-2 py-3">
|
||||
<% 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 %>
|
||||
<span class="badge badge-hover">
|
||||
<%= 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 %>
|
||||
</span>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user