diff --git a/app/views/contexts/_context_listing.rhtml b/app/views/contexts/_context_listing.rhtml index 32335457..064b0d2b 100644 --- a/app/views/contexts/_context_listing.rhtml +++ b/app/views/contexts/_context_listing.rhtml @@ -21,7 +21,7 @@ <% end %> <%= image_tag( "blank.png", :title => "Delete context", :class=>"delete_item") %> <%= apply_behavior "a.delete_context_button:click", { :prevent_default => true, :external => true} do |page, element| - page.confirming "'Are you sure that you want to ' + this.title + '?'" do + page.confirming "'Are you sure that you want to delete the context '#{context.name}'? Be aware that this will also delete all (repeating) actions in this context!'" do element.up('.context').start_waiting page << remote_to_href(:method => 'delete') end @@ -38,4 +38,4 @@ <%= render :partial => 'contexts/context_form', :object => context %> - \ No newline at end of file +