- <td><%= issue.status.humanize %></td>
- <td style="text-align:center;"><%= issue.reports_count %></td>
- <td><%= l(issue.updated_at.to_datetime, :format => :friendly) %></td>
- <td><% if issue.user_updated %> <%= issue.user_updated.display_name %> <% else %> - <% end %></td>
- <td><%= reports_url(issue) %></td>
- <td><%= link_to issue.reported_user.display_name , :controller => :user, :action => :view, :display_name => issue.reported_user.display_name %></td>
- <td><%= instance_url(issue.reportable) %></td>
+ <td><%= t ".states.#{issue.status}" %></td>
+ <td><%= link_to t(".reports_count", :count => issue.reports_count), issue %></td>
+ <td><%= link_to reportable_title(issue.reportable), reportable_url(issue.reportable) %></td>
+ <td><%= link_to issue.reported_user.display_name, user_path(issue.reported_user) if issue.reported_user %></td>
+ <td>
+ <% if issue.user_updated %>
+ <%= t ".last_updated_time_user_html", :user => link_to(issue.user_updated.display_name, user_path(issue.user_updated)),
+ :time => time_ago_in_words(issue.updated_at, :scope => :'datetime.distance_in_words_ago'),
+ :title => l(issue.updated_at) %>
+ <% else %>
+ <%= t ".last_updated_time_html", :time => time_ago_in_words(issue.updated_at, :scope => :'datetime.distance_in_words_ago'),
+ :title => l(issue.updated_at) %>
+ <% end %>
+ </td>