X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aa1fb6dbb8c2e71b8ce8c231ae1272a2dfebd75a..80a241f7985fec6ec853e48a25823446b59b7682:/app/views/browse/changeset.html.erb
diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb
index 86d190680..afc3fc16c 100644
--- a/app/views/browse/changeset.html.erb
+++ b/app/views/browse/changeset.html.erb
@@ -3,6 +3,11 @@
<%= t('browse.changeset.title', :id => @changeset.id) %>
+ <% if current_user and current_user.id != @changeset.user.id %>
+ <%= link_to new_report_url(reportable_id: @changeset.id, reportable_type: @changeset.class.name), :title => t('browse.changeset.report') do %>
+ ⚐
+ <% end %>
+ <% end %>
@@ -72,6 +77,10 @@
+ <% else %>
+
+ <%= t('browse.changeset.still_open') %>
+
<% end %>
<% unless @ways.empty? %>