summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-06-10 23:53:06 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-06-10 23:53:06 +0000
commitc237bcd5049c70f95ba267f9df46fbbb865d92f1 (patch)
treef7554779a6743c8acdca76ee85b8ad463176bf7b /app
parent261292445fb784f8c7cc35d412f318d7d9d91249 (diff)
downloadredmine-c237bcd5049c70f95ba267f9df46fbbb865d92f1.tar.gz
redmine-c237bcd5049c70f95ba267f9df46fbbb865d92f1.zip
Clean up wiki destroy confirmation message.
git-svn-id: http://svn.redmine.org/redmine/trunk@16660 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/wikis/destroy.html.erb11
1 files changed, 6 insertions, 5 deletions
diff --git a/app/views/wikis/destroy.html.erb b/app/views/wikis/destroy.html.erb
index af7dc6c67..5afb676b2 100644
--- a/app/views/wikis/destroy.html.erb
+++ b/app/views/wikis/destroy.html.erb
@@ -1,10 +1,11 @@
<h2><%=l(:label_confirmation)%></h2>
-<div class="box"><center>
-<p><strong><%= @project.name %></strong><br /><%=l(:text_wiki_destroy_confirmation)%></p>
+<div class="warning">
+ <p><strong><%= @project.name %></strong><br /><%=l(:text_wiki_destroy_confirmation)%></p>
+</div>
<%= form_tag({:controller => 'wikis', :action => 'destroy', :id => @project}) do %>
-<%= hidden_field_tag "confirm", 1 %>
-<%= submit_tag l(:button_delete) %>
+ <%= hidden_field_tag "confirm", 1 %>
+ <%= submit_tag l(:button_delete) %>
+ <%= link_to l(:button_cancel), settings_project_path(@project, :tab => 'wiki') %>
<% end %>
-</center></div>