X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2aca6920dc3488a381b275d21a31344da02029e6..9c83235f72aece554426751e334c1f0b4ccaea64:/app/views/issues/index.html.erb diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index e5e7ebc00..bfb11ee5b 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -34,10 +34,10 @@ <%= t ".states.#{issue.status}" %> <%= link_to t(".reports_count", :count => issue.reports_count), issue %> <%= link_to reportable_title(issue.reportable), reportable_url(issue.reportable) %> - <%= link_to issue.reported_user.display_name, user_path(issue.reported_user.display_name) if issue.reported_user %> + <%= link_to issue.reported_user.display_name, user_path(issue.reported_user) if issue.reported_user %> <% if issue.user_updated %> - <%= t ".last_updated_time_user_html", :user => link_to(issue.user_updated.display_name, user_path(issue.user_updated.display_name)), + <%= t ".last_updated_time_user_html", :user => link_to(issue.user_updated.display_name, user_path(issue.user_updated)), :time => distance_of_time_in_words_to_now(issue.updated_at), :title => l(issue.updated_at) %> <% else %>