Improved warning message when finishing an order.
* Hope this makes unwanted ending of an order like last week less possible. * Finally Closes #159 Signed-off-by: bennibu <benni@dresdener27.de>
This commit is contained in:
parent
7e0d65a413
commit
2db8aec0e5
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
||||||
%td=h order.name
|
%td=h order.name
|
||||||
%td=h format_time(order.ends) unless order.ends.nil?
|
%td=h format_time(order.ends) unless order.ends.nil?
|
||||||
%td=h truncate(order.note)
|
%td=h truncate(order.note)
|
||||||
%td= link_to "Beenden", finish_order_path(order), :confirm => "Willst Du wirklich die Bestellung beenden?\nEs gibt kein zurück..", :method => :post
|
%td= link_to "Beenden", finish_order_path(order), :confirm => "Willst Du wirklich die Bestellung \"#{order.name}\" beenden?\nEs gibt kein zurück.", :method => :post
|
||||||
%td
|
%td
|
||||||
= link_to "Anzeigen", order
|
= link_to "Anzeigen", order
|
||||||
= link_to icon(:edit), edit_order_path(order)
|
= link_to icon(:edit), edit_order_path(order)
|
||||||
|
|
Loading…
Reference in a new issue