From: Toshi MARUYAMA Date: Thu, 1 Sep 2011 13:23:05 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/projects/destroy.rhtml. X-Git-Tag: 1.3.0~965 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=75231bac019973186be346a720c624c6d1a3a768;p=redmine.git rename .rhtml to .html.erb of app/views/projects/destroy.rhtml. :rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6998 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/projects/destroy.html.erb b/app/views/projects/destroy.html.erb new file mode 100644 index 000000000..23844ec67 --- /dev/null +++ b/app/views/projects/destroy.html.erb @@ -0,0 +1,16 @@ +

<%=l(:label_confirmation)%>

+
+

<%=h @project_to_destroy %>
+<%=l(:text_project_destroy_confirmation)%> + +<% if @project_to_destroy.descendants.any? %> +
<%= l(:text_subprojects_destroy_warning, content_tag('strong', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))) %> +<% end %> +

+

+ <% form_tag(project_path(@project_to_destroy), :method => :delete) do %> + + <%= submit_tag l(:button_delete) %> + <% end %> +

+
diff --git a/app/views/projects/destroy.rhtml b/app/views/projects/destroy.rhtml deleted file mode 100644 index 23844ec67..000000000 --- a/app/views/projects/destroy.rhtml +++ /dev/null @@ -1,16 +0,0 @@ -

<%=l(:label_confirmation)%>

-
-

<%=h @project_to_destroy %>
-<%=l(:text_project_destroy_confirmation)%> - -<% if @project_to_destroy.descendants.any? %> -
<%= l(:text_subprojects_destroy_warning, content_tag('strong', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))) %> -<% end %> -

-

- <% form_tag(project_path(@project_to_destroy), :method => :delete) do %> - - <%= submit_tag l(:button_delete) %> - <% end %> -

-