X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c3ad6aa2923c03aeeea0b57033b0a9238d262aa2..948fd8c8faf1016deb23b73eca0dadb6267603cf:/app/views/issues/index.html.erb diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index 7a7da4578..f9f2c28f9 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -19,7 +19,7 @@ Search for a particular issue(s):
<%= sortable("status") %> - <%= sortable("report_count", "Number of Reports") %> + <%= sortable("reports_count", "Number of Reports") %> <%= sortable("updated_at","Last updated at") %> <%= sortable("updated_by","Last updated by") %> Link to reports @@ -31,11 +31,11 @@ Search for a particular issue(s):
<% @issues.each do |issue| %> <%= issue.status.humanize %> - <%= issue.report_count %> + <%= issue.reports_count %> <%= l(issue.updated_at.to_datetime, :format => :friendly) %> <% if issue.user_updated %> <%= issue.user_updated.display_name %> <% else %> - <% end %> <%= reports_url(issue) %> - <%= link_to issue.user.display_name , :controller => :user, :action => :view,:display_name => issue.user.display_name %> + <%= link_to issue.reported_user.display_name , :controller => :user, :action => :view, :display_name => issue.reported_user.display_name %> <%= instance_url(issue.reportable) %> <% end %>