Add requeue action for printer jobs

This commit is contained in:
Patrick Gansterer 2020-08-12 20:05:57 +02:00
parent 3a25a50d8d
commit 754099999e
5 changed files with 15 additions and 1 deletions

View file

@ -1,5 +1,8 @@
- title t('.title', id: @job.id)
- content_for :actionbar do
= link_to t('.requeue'), requeue_printer_job_path(@job), method: :post, class: 'btn'
%p
%b= heading_helper(PrinterJob, :created_by) + ':'
= show_user @job.created_by