]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/issues/destroy.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 1 Sep 2011 15:19:01 +0000 (15:19 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 1 Sep 2011 15:19:01 +0000 (15:19 +0000)
: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@7019 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/destroy.html.erb [new file with mode: 0644]
app/views/issues/destroy.rhtml [deleted file]

diff --git a/app/views/issues/destroy.html.erb b/app/views/issues/destroy.html.erb
new file mode 100644 (file)
index 0000000..7f2f455
--- /dev/null
@@ -0,0 +1,15 @@
+<h2><%= l(:label_confirmation) %></h2>
+
+<% form_tag do %>
+<%= @issues.collect {|i| hidden_field_tag 'ids[]', i.id } %>
+<div class="box">
+<p><strong><%= l(:text_destroy_time_entries_question, :hours => number_with_precision(@hours, :precision => 2)) %></strong></p>
+<p>
+<label><%= radio_button_tag 'todo', 'destroy', true %> <%= l(:text_destroy_time_entries) %></label><br />
+<label><%= radio_button_tag 'todo', 'nullify', false %> <%= l(:text_assign_time_entries_to_project) %></label><br />
+<label><%= radio_button_tag 'todo', 'reassign', false, :onchange => 'if (this.checked) { $("reassign_to_id").focus(); }' %> <%= l(:text_reassign_time_entries) %></label>
+<%= text_field_tag 'reassign_to_id', params[:reassign_to_id], :size => 6, :onfocus => '$("todo_reassign").checked=true;' %>
+</p>
+</div>
+<%= submit_tag l(:button_apply) %>
+<% end %>
diff --git a/app/views/issues/destroy.rhtml b/app/views/issues/destroy.rhtml
deleted file mode 100644 (file)
index 7f2f455..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<h2><%= l(:label_confirmation) %></h2>
-
-<% form_tag do %>
-<%= @issues.collect {|i| hidden_field_tag 'ids[]', i.id } %>
-<div class="box">
-<p><strong><%= l(:text_destroy_time_entries_question, :hours => number_with_precision(@hours, :precision => 2)) %></strong></p>
-<p>
-<label><%= radio_button_tag 'todo', 'destroy', true %> <%= l(:text_destroy_time_entries) %></label><br />
-<label><%= radio_button_tag 'todo', 'nullify', false %> <%= l(:text_assign_time_entries_to_project) %></label><br />
-<label><%= radio_button_tag 'todo', 'reassign', false, :onchange => 'if (this.checked) { $("reassign_to_id").focus(); }' %> <%= l(:text_reassign_time_entries) %></label>
-<%= text_field_tag 'reassign_to_id', params[:reassign_to_id], :size => 6, :onfocus => '$("todo_reassign").checked=true;' %>
-</p>
-</div>
-<%= submit_tag l(:button_apply) %>
-<% end %>