Updated job view for operator

This commit is contained in:
2024-08-27 12:28:46 +02:00
parent f4068c10bd
commit 7b7ba97032
6 changed files with 102 additions and 78 deletions

View File

@@ -1,8 +1,10 @@
<tr id="<%= dom_id job %>" class="bg-status-<%= job.status %>-light odd:bg-opacity-20 even:bg-opacity-10 text-hsrm-gray whitespace-nowrap hover:bg-opacity-30">
<td class="p-2 py-3 text-center">
<span class="badge badge-xl text-status-<%= job.status %> bg-status-<%= job.status %>-light">
<%= job.id %>
</span>
<%= link_to operator_job_path(job) do %>
<span class="badge badge-xl text-status-<%= job.status %> bg-status-<%= job.status %>-light">
<%= job.id %>
</span>
<% end %>
</td>
<td class="p-2 py-3 text-center">
<% if job.pdf.attached? %>