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:
sandoz 2009-03-25 05:57:24 +08:00 committed by bennibu
parent 7e0d65a413
commit 2db8aec0e5
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
%td=h order.name
%td=h format_time(order.ends) unless order.ends.nil?
%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
= link_to "Anzeigen", order
= link_to icon(:edit), edit_order_path(order)