summaryrefslogtreecommitdiffstats
path: root/app/views/reports/_simple.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-03-12 17:59:02 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-03-12 17:59:02 +0000
commit027bf93849e82ef3c60e4a3024db49d65f0fb3c9 (patch)
treec6bc438fcd50370944b94f605b3f34fe54b73248 /app/views/reports/_simple.rhtml
parent071f8e18d02f789149071abb8e052bae7ad01003 (diff)
downloadredmine-027bf93849e82ef3c60e4a3024db49d65f0fb3c9.tar.gz
redmine-027bf93849e82ef3c60e4a3024db49d65f0fb3c9.zip
added svn:eol-style native property on /app files
git-svn-id: http://redmine.rubyforge.org/svn/trunk@333 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/reports/_simple.rhtml')
-rw-r--r--app/views/reports/_simple.rhtml72
1 files changed, 36 insertions, 36 deletions
diff --git a/app/views/reports/_simple.rhtml b/app/views/reports/_simple.rhtml
index 1e66210f9..0e580fe72 100644
--- a/app/views/reports/_simple.rhtml
+++ b/app/views/reports/_simple.rhtml
@@ -1,37 +1,37 @@
-<% if @statuses.empty? or rows.empty? %>
- <p><i><%=l(:label_no_data)%></i></p>
-<% else %>
-<table class="list">
-<thead><tr>
-<th style="width:25%"></th>
-<th align="center" style="width:25%"><%=l(:label_open_issues_plural)%></th>
-<th align="center" style="width:25%"><%=l(:label_closed_issues_plural)%></th>
-<th align="center" style="width:25%"><%=l(:label_total)%></th>
-</tr></thead>
-<tbody>
-<% for row in rows %>
-<tr class="<%= cycle("odd", "even") %>">
- <td><%= link_to row.name, :controller => 'projects', :action => 'list_issues', :id => @project,
- :set_filter => 1,
- "#{field_name}" => row.id %></td>
- <td align="center"><%= link_to (aggregate data, { field_name => row.id, "closed" => 0 }),
- :controller => 'projects', :action => 'list_issues', :id => @project,
- :set_filter => 1,
- "#{field_name}" => row.id,
- "status_id" => "o" %></td>
- <td align="center"><%= link_to (aggregate data, { field_name => row.id, "closed" => 1 }),
- :controller => 'projects', :action => 'list_issues', :id => @project,
- :set_filter => 1,
- "#{field_name}" => row.id,
- "status_id" => "c" %></td>
- <td align="center"><%= link_to (aggregate data, { field_name => row.id }),
- :controller => 'projects', :action => 'list_issues', :id => @project,
- :set_filter => 1,
- "#{field_name}" => row.id,
- "status_id" => "*" %></td>
-</tr>
-<% end %>
-</tbody>
-</table>
-<% end
+<% if @statuses.empty? or rows.empty? %>
+ <p><i><%=l(:label_no_data)%></i></p>
+<% else %>
+<table class="list">
+<thead><tr>
+<th style="width:25%"></th>
+<th align="center" style="width:25%"><%=l(:label_open_issues_plural)%></th>
+<th align="center" style="width:25%"><%=l(:label_closed_issues_plural)%></th>
+<th align="center" style="width:25%"><%=l(:label_total)%></th>
+</tr></thead>
+<tbody>
+<% for row in rows %>
+<tr class="<%= cycle("odd", "even") %>">
+ <td><%= link_to row.name, :controller => 'projects', :action => 'list_issues', :id => @project,
+ :set_filter => 1,
+ "#{field_name}" => row.id %></td>
+ <td align="center"><%= link_to (aggregate data, { field_name => row.id, "closed" => 0 }),
+ :controller => 'projects', :action => 'list_issues', :id => @project,
+ :set_filter => 1,
+ "#{field_name}" => row.id,
+ "status_id" => "o" %></td>
+ <td align="center"><%= link_to (aggregate data, { field_name => row.id, "closed" => 1 }),
+ :controller => 'projects', :action => 'list_issues', :id => @project,
+ :set_filter => 1,
+ "#{field_name}" => row.id,
+ "status_id" => "c" %></td>
+ <td align="center"><%= link_to (aggregate data, { field_name => row.id }),
+ :controller => 'projects', :action => 'list_issues', :id => @project,
+ :set_filter => 1,
+ "#{field_name}" => row.id,
+ "status_id" => "*" %></td>
+</tr>
+<% end %>
+</tbody>
+</table>
+<% end
reset_cycle %> \ No newline at end of file