Localized start job button
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<% if jobs.any? %>
|
<% if jobs.any? %>
|
||||||
<%= button_to icon("printer",
|
<%= button_to icon("printer",
|
||||||
class: "icon icon-nohover size-6 mr-2",
|
class: "icon icon-nohover size-6 mr-2",
|
||||||
title: "Drucken") + "Start next job (" + jobs.count.to_s + ")", operator_job_path(jobs.first),
|
title: "Drucken") + "Nächsten Druckauftrag starten (" + jobs.count.to_s + ")", operator_job_path(jobs.first),
|
||||||
params: { :job => { status: :printing} },
|
params: { :job => { status: :printing} },
|
||||||
method: :patch,
|
method: :patch,
|
||||||
form_class: "btn bg-green-400 text-black" %>
|
form_class: "btn bg-green-400 text-black" %>
|
||||||
|
|||||||
Reference in New Issue
Block a user