X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e31376e28da8f656e33508cc899da465b63673c5..0df788d74232330eea5c2d4854ba0d10796053eb:/app/views/issues/index.html.erb diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index 0eb2108b9..521b53ec0 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -1,5 +1,3 @@ -

<%= notice %>

- <% content_for :heading do %>

List of <%= @user_role %> issues:

<% end %> @@ -13,25 +11,30 @@ Search for a particular issue(s):
<%= submit_tag "Search" %> <% end %>
+ +<% if @issues.length == 0 %> +

<%= t ".search.issues_not_found" %>

+<% end %> +
- - - - - - - + + + + + + + <% @issues.each do |issue| %> - +
<%= sortable("status") %> <%= sortable("report_count", "Number of Reports") %> <%= sortable("updated_at","Last updated at") %> <%= sortable("updated_by","Last updated by") %> Link to reports <%= sortable("reported_user_id","Reported User") %> Link to reported instanceStatusNumber of ReportsLast updated atLast updated byLink to reportsReported UserLink to reported instance
<%= 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) %>