From 6a8de20f444e27f078abecf0e6827a423823d2d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20B=C3=B6hm?= Date: Sun, 11 Aug 2024 12:25:51 +0200 Subject: [PATCH] Small layout changes --- app/views/jobs/_job_tr.html.erb | 6 +++--- app/views/jobs/index.html.erb | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/views/jobs/_job_tr.html.erb b/app/views/jobs/_job_tr.html.erb index 2ff2f27..e2689c0 100644 --- a/app/views/jobs/_job_tr.html.erb +++ b/app/views/jobs/_job_tr.html.erb @@ -19,12 +19,12 @@ <%= job.number_of_plans_a1 %> <%= job.number_of_plans_a2 %> <%= job.number_of_plans_a3 %> - <%= job.costum_qm_plan.round(2) %> m² - <%= job.cost.round(2) %> € + <%= job.costum_qm_plan.round(2) %> m² + <%= job.cost.round(2) %> € <%= job.status %> - + <%= link_to icon("pencil-square", class: "size-5 inline"), edit_job_path(job), classe: "p-1.5 ml-2 rounded-lg bg-gray-300 bg-opacity-50 font-medium" %> <% if job.able_to_cancel? %> <%= button_to icon("x-circle", class: "text-hsrm-red size-5 inline"), cancel_job_path(job), method: :patch, form: {data: {turbo_confirm: 'Den Plottauftrag wirklich abbrechen?'}}, form_class: "inline" %> diff --git a/app/views/jobs/index.html.erb b/app/views/jobs/index.html.erb index 4e7424d..94acce3 100644 --- a/app/views/jobs/index.html.erb +++ b/app/views/jobs/index.html.erb @@ -8,7 +8,7 @@
- + @@ -17,10 +17,10 @@ - - + + - +
ID Auftraggeber A1 A2 A3 noDIN Kosten noDIN Kosten Status Actions Actions