]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/repositories/committers.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 23 Aug 2011 08:39:34 +0000 (08:39 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 23 Aug 2011 08:39:34 +0000 (08:39 +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@6537 e93f8b46-1217-0410-a6f0-8f06a7374b81

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

diff --git a/app/views/repositories/committers.html.erb b/app/views/repositories/committers.html.erb
new file mode 100644 (file)
index 0000000..597a414
--- /dev/null
@@ -0,0 +1,34 @@
+<h2><%= l(:label_repository) %></h2>
+
+<%= simple_format(l(:text_repository_usernames_mapping)) %>
+
+<% if @committers.empty? %>
+<p class="nodata"><%= l(:label_no_data) %></p>
+<% else %>
+
+<% form_tag({}) do %>
+<table class="list">
+<thead>
+       <tr>
+               <th><%= l(:field_login) %></th>
+               <th><%= l(:label_user) %></th>
+       </tr>
+</thead>
+<tbody>
+<% i = 0 -%>
+<% @committers.each do |committer, user_id| -%>
+       <tr class="<%= cycle 'odd', 'even' %>">
+               <td><%=h committer %></td>
+               <td>
+                       <%= hidden_field_tag "committers[#{i}][]", committer %>
+                       <%= select_tag "committers[#{i}][]", content_tag('option', "-- #{l :actionview_instancetag_blank_option} --", :value => '') + options_from_collection_for_select(@users, 'id', 'name', user_id.to_i) %>
+               </td>
+       </tr>
+       <% i += 1 -%>
+<% end -%>
+</tbody>
+</table>
+<p><%= submit_tag(l(:button_update)) %></p>
+<% end %>
+
+<% end %>
\ No newline at end of file
diff --git a/app/views/repositories/committers.rhtml b/app/views/repositories/committers.rhtml
deleted file mode 100644 (file)
index 597a414..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<h2><%= l(:label_repository) %></h2>
-
-<%= simple_format(l(:text_repository_usernames_mapping)) %>
-
-<% if @committers.empty? %>
-<p class="nodata"><%= l(:label_no_data) %></p>
-<% else %>
-
-<% form_tag({}) do %>
-<table class="list">
-<thead>
-       <tr>
-               <th><%= l(:field_login) %></th>
-               <th><%= l(:label_user) %></th>
-       </tr>
-</thead>
-<tbody>
-<% i = 0 -%>
-<% @committers.each do |committer, user_id| -%>
-       <tr class="<%= cycle 'odd', 'even' %>">
-               <td><%=h committer %></td>
-               <td>
-                       <%= hidden_field_tag "committers[#{i}][]", committer %>
-                       <%= select_tag "committers[#{i}][]", content_tag('option', "-- #{l :actionview_instancetag_blank_option} --", :value => '') + options_from_collection_for_select(@users, 'id', 'name', user_id.to_i) %>
-               </td>
-       </tr>
-       <% i += 1 -%>
-<% end -%>
-</tbody>
-</table>
-<p><%= submit_tag(l(:button_update)) %></p>
-<% end %>
-
-<% end %>
\ No newline at end of file