summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-24 10:23:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-24 10:23:04 +0000
commit55a3060b28b559960673a48b5efe8ceedd6ae811 (patch)
treeb9a18432d068f08b53a60290091fdd6551305259
parent1cde149589966ecee7dc985783d12ca202bfc31e (diff)
downloadredmine-55a3060b28b559960673a48b5efe8ceedd6ae811.tar.gz
redmine-55a3060b28b559960673a48b5efe8ceedd6ae811.zip
Reverts r14641.
git-svn-id: http://svn.redmine.org/redmine/trunk@14738 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/reports/_details.html.erb2
-rw-r--r--app/views/reports/_simple.html.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/reports/_details.html.erb b/app/views/reports/_details.html.erb
index 6d7322e96..ab7fe3620 100644
--- a/app/views/reports/_details.html.erb
+++ b/app/views/reports/_details.html.erb
@@ -14,7 +14,7 @@
<tbody>
<% for row in rows %>
<tr class="<%= cycle("odd", "even") %>">
- <td class="name"><%= row.name %></td>
+ <td class="name"><%= link_to row.name, aggregate_path(@project, field_name, row) %></td>
<% for status in @statuses %>
<td><%= aggregate_link data, { field_name => row.id, "status_id" => status.id }, aggregate_path(@project, field_name, row, :status_id => status.id) %></td>
<% end %>
diff --git a/app/views/reports/_simple.html.erb b/app/views/reports/_simple.html.erb
index b557490ce..9dca3554c 100644
--- a/app/views/reports/_simple.html.erb
+++ b/app/views/reports/_simple.html.erb
@@ -11,7 +11,7 @@
<tbody>
<% for row in rows %>
<tr class="<%= cycle("odd", "even") %>">
- <td class="name"><%= row.name %></td>
+ <td class="name"><%= link_to row.name, aggregate_path(@project, field_name, row) %></td>
<td><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o") %></td>
<td><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c") %></td>
<td><%= aggregate_link data, { field_name => row.id }, aggregate_path(@project, field_name, row, :status_id => "*") %></td>