X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ed84930283982062753e8fbd7323239d70dd1611..757a1aaa850bf48e45ee1dd2225cda1c9fa47d73:/app/views/issues/show.html.erb?ds=inline diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index 51e179da1..4611324f3 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -1,6 +1,6 @@ <% content_for :heading do %>
<%= @issue.reportable_type %> : <%= reportable_url(@issue.reportable) %>
+<%= report_type(@issue.reportable_type) %> : <%= reportable_url(@issue.reportable) %>
<%= @issue.reports.count %> reports | First reported: <%= l @issue.created_at.to_datetime, :format => :friendly %> <%= "| Last resolved at #{l(@issue.resolved_at.to_datetime, :format =>:friendly)}" if @issue.resolved_at? %> <%= "| Last updated at #{l(@issue.updated_at.to_datetime, :format => :friendly)} by #{@updated_by_admin.display_name}" if @updated_by_admin %>