X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/206e1309a95b498a220d8de6cf4ed5970ebd6778..0df788d74232330eea5c2d4854ba0d10796053eb:/app/views/issues/index.html.erb diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index 98fbbaa2d..521b53ec0 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -1,41 +1,46 @@ -
<%= notice %>
- <% content_for :heading do %> -<%= t ".search.issues_not_found" %>
+<% end %> +Status | -Number of Reports | -Last updated at | -Link to instance | -Reported User | -- | |
<%= issue.status %> | -<%= issue.reports.count %> | -<%= issue.updated_at.strftime('%H:%M, %m/%d/%y') %> | -<%= reportable_url(issue.reportable) %> | -<%= link_to issue.user.display_name , :controller => :user, :action => :view,:display_name => issue.user.display_name %> | -<%= link_to "Show Reports", issue %> | -|
Status | +Number of Reports | +Last updated at | +Last updated by | +Link to reports | +Reported User | +Link to reported instance | +
<%= issue.status.humanize %> | +<%= 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.reported_user.display_name , :controller => :user, :action => :view, :display_name => issue.reported_user.display_name %> | +<%= instance_url(issue.reportable) %> | +