]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/issues/show.html.erb
Merge remote-tracking branch 'upstream/pull/5796'
[rails.git] / app / views / issues / show.html.erb
index 27afb1a6f79d52b1538c44c9a57eeefad2e236fc..111f5d0d67f899a3f1d258af9c0f186dc3b82fe5 100644 (file)
@@ -1,10 +1,6 @@
 <% content_for :heading do %>
 <h1><%= @title %></h1>
-<p>
-  <%= @issue.reportable.model_name.human %> :
-  <%= link_to reportable_title(@issue.reportable), reportable_url(@issue.reportable) %> :
-  <%= reportable_dates(@issue.reportable) %>
-</p>
+<p><%= reportable_heading @issue.reportable %></p>
 <p class="text-body-secondary">
   <small>
     <%= @issue.assigned_role %>