]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/workflows/index.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 27 Aug 2011 23:49:35 +0000 (23:49 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 27 Aug 2011 23:49:35 +0000 (23:49 +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@6685 e93f8b46-1217-0410-a6f0-8f06a7374b81

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

diff --git a/app/views/workflows/index.html.erb b/app/views/workflows/index.html.erb
new file mode 100644 (file)
index 0000000..f05386c
--- /dev/null
@@ -0,0 +1,35 @@
+<%= render :partial => 'action_menu' %>
+
+<h2><%=l(:label_workflow)%></h2>
+
+<% if @workflow_counts.empty? %>
+<p class="nodata"><%= l(:label_no_data) %></p>
+<% else %>
+<div class="autoscroll">
+<table class="list">
+<thead>
+    <tr>
+    <th></th>
+    <% @workflow_counts.first.last.each do |role, count| %>
+    <th>
+        <%= content_tag(role.builtin? ? 'em' : 'span', h(role.name)) %>
+    </th>
+
+    <% end %>
+    </tr>
+</thead>
+<tbody>
+<% @workflow_counts.each do |tracker, roles| -%>
+<tr class="<%= cycle('odd', 'even') %>">
+  <td><%= h tracker %></td>
+  <% roles.each do |role, count| -%>
+    <td align="center">
+      <%= link_to((count > 0 ? count : image_tag('false.png')), {:action => 'edit', :role_id => role, :tracker_id => tracker}, :title => l(:button_edit)) %>
+    </td>
+  <% end -%>
+</tr>
+<% end -%>
+</tbody>
+</table>
+</div>
+<% end %>
diff --git a/app/views/workflows/index.rhtml b/app/views/workflows/index.rhtml
deleted file mode 100644 (file)
index f05386c..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<%= render :partial => 'action_menu' %>
-
-<h2><%=l(:label_workflow)%></h2>
-
-<% if @workflow_counts.empty? %>
-<p class="nodata"><%= l(:label_no_data) %></p>
-<% else %>
-<div class="autoscroll">
-<table class="list">
-<thead>
-    <tr>
-    <th></th>
-    <% @workflow_counts.first.last.each do |role, count| %>
-    <th>
-        <%= content_tag(role.builtin? ? 'em' : 'span', h(role.name)) %>
-    </th>
-
-    <% end %>
-    </tr>
-</thead>
-<tbody>
-<% @workflow_counts.each do |tracker, roles| -%>
-<tr class="<%= cycle('odd', 'even') %>">
-  <td><%= h tracker %></td>
-  <% roles.each do |role, count| -%>
-    <td align="center">
-      <%= link_to((count > 0 ? count : image_tag('false.png')), {:action => 'edit', :role_id => role, :tracker_id => tracker}, :title => l(:button_edit)) %>
-    </td>
-  <% end -%>
-</tr>
-<% end -%>
-</tbody>
-</table>
-</div>
-<% end %>