From b8e107b7ccedae038fadc9bef641079800905160 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20B=C3=B6hm?= Date: Wed, 14 Aug 2024 00:16:06 +0200 Subject: [PATCH] Added status icons to the cards for operator view --- app/views/operator/jobs/index.html.erb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/views/operator/jobs/index.html.erb b/app/views/operator/jobs/index.html.erb index 58c9c6d..f621012 100644 --- a/app/views/operator/jobs/index.html.erb +++ b/app/views/operator/jobs/index.html.erb @@ -2,8 +2,9 @@ <% content_for :title, "Current Print Jobs" %>
<%= link_to "#openjobs-h" do %> -
+

+ <%= icon("inbox-stack", class: "text-status-paid size-10 inline drop-shadow") %> Open <%= @openjobs.count %>

@@ -12,6 +13,7 @@ <%= link_to "#printingjobs-h" do %>

+ <%= icon("printer", class: "text-status-paid size-10 inline drop-shadow") %> Printing <%= @printingjobs.count %>

@@ -20,6 +22,7 @@ <%= link_to "#pickupjobs-h" do %>

+ <%= icon("arrow-up-tray", class: "text-status-paid size-10 inline drop-shadow") %> Pickup <%= @pickupjobs.count %>

@@ -28,6 +31,7 @@ <%= link_to "#paidcanceledjobs-h" do %>

+ <%= icon("banknotes", class: "text-status-paid size-10 inline drop-shadow") %> Paid <%= @paidjobs.count %>

@@ -36,6 +40,7 @@ <%= link_to "#paidcanceledjobs-h" do %>

+ <%= icon("x-circle", class: "text-status-paid size-10 inline drop-shadow") %> Canceled <%= @canceledjobs.count %>