From: Toshi MARUYAMA Date: Mon, 29 Aug 2011 01:39:54 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/timelog/bulk_edit.rhtml. X-Git-Tag: 1.3.0~1252 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=510504b0071d58335fe6a716df47ba76e5e29e12;p=redmine.git rename .rhtml to .html.erb of app/views/timelog/bulk_edit.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@6710 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/timelog/bulk_edit.html.erb b/app/views/timelog/bulk_edit.html.erb new file mode 100644 index 000000000..a93e39238 --- /dev/null +++ b/app/views/timelog/bulk_edit.html.erb @@ -0,0 +1,49 @@ +

<%= l(:label_bulk_edit_selected_time_entries) %>

+ + + +<% form_tag(:action => 'bulk_update') do %> +<%= @time_entries.collect {|i| hidden_field_tag('ids[]', i.id)}.join %> +
+
+ <%= l(:label_change_properties) %> +
+

+ + <%= text_field :time_entry, :issue_id, :size => 6 %> +

+ +

+ + <%= text_field :time_entry, :spent_on, :size => 10 %><%= calendar_for('time_entry_spent_on') %> +

+ +

+ + <%= text_field :time_entry, :hours, :size => 6 %> +

+ + <% if @available_activities.any? %> +

+ + <%= select_tag('time_entry[activity_id]', "" + options_from_collection_for_select(@available_activities, :id, :name)) %> +

+ <% end %> + +

+ + <%= text_field(:time_entry, :comments, :size => 100) %> +

+ + <% @custom_fields.each do |custom_field| %> +

<%= custom_field_tag_for_bulk_edit('time_entry', custom_field, @projects) %>

+ <% end %> + + <%= call_hook(:view_time_entries_bulk_edit_details_bottom, { :time_entries => @time_entries }) %> +
+ +
+
+ +

<%= submit_tag l(:button_submit) %>

+<% end %> diff --git a/app/views/timelog/bulk_edit.rhtml b/app/views/timelog/bulk_edit.rhtml deleted file mode 100644 index a93e39238..000000000 --- a/app/views/timelog/bulk_edit.rhtml +++ /dev/null @@ -1,49 +0,0 @@ -

<%= l(:label_bulk_edit_selected_time_entries) %>

- - - -<% form_tag(:action => 'bulk_update') do %> -<%= @time_entries.collect {|i| hidden_field_tag('ids[]', i.id)}.join %> -
-
- <%= l(:label_change_properties) %> -
-

- - <%= text_field :time_entry, :issue_id, :size => 6 %> -

- -

- - <%= text_field :time_entry, :spent_on, :size => 10 %><%= calendar_for('time_entry_spent_on') %> -

- -

- - <%= text_field :time_entry, :hours, :size => 6 %> -

- - <% if @available_activities.any? %> -

- - <%= select_tag('time_entry[activity_id]', "" + options_from_collection_for_select(@available_activities, :id, :name)) %> -

- <% end %> - -

- - <%= text_field(:time_entry, :comments, :size => 100) %> -

- - <% @custom_fields.each do |custom_field| %> -

<%= custom_field_tag_for_bulk_edit('time_entry', custom_field, @projects) %>

- <% end %> - - <%= call_hook(:view_time_entries_bulk_edit_details_bottom, { :time_entries => @time_entries }) %> -
- -
-
- -

<%= submit_tag l(:button_submit) %>

-<% end %>