X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3e4255eb2cc9f8b260ecab6d80c783723cf89d88..7dbf8d83369cb73929080c4ba23fdd7dcd0184df:/app/views/browse/changeset.html.erb
diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb
index 1fb1e74a4..81e1614c1 100644
--- a/app/views/browse/changeset.html.erb
+++ b/app/views/browse/changeset.html.erb
@@ -3,11 +3,6 @@
<%= t('browse.changeset.title', :id => @changeset.id) %>
- <% if current_user and current_user.id != @changeset.user.id %>
- <%= link_to new_issue_url(reportable_id: @changeset.id, reportable_type: @changeset.class.name, referer: request.fullpath), :title => t('browse.changeset.report') do %>
- ⚐
- <% end %>
- <% end %>
@@ -40,8 +35,7 @@
<%= t("browse.changeset.commented_by",
:when => friendly_date(comment.created_at), :exact_time => l(comment.created_at),
- :user => link_to(h(comment.author.display_name), {:controller => "user", :action => "view",
- :display_name => comment.author.display_name})).html_safe %>
+ :user => link_to(h(comment.author.display_name), user_path(comment.author))).html_safe %>
<% if current_user and current_user.moderator? %>
â <%= t('javascripts.changesets.show.hide_comment') %>
<% end %>
@@ -53,8 +47,7 @@
<%= t("browse.changeset.hidden_commented_by",
:when => friendly_date(comment.created_at), :exact_time => l(comment.created_at),
- :user => link_to(h(comment.author.display_name), {:controller => "user", :action => "view",
- :display_name => comment.author.display_name})).html_safe %>
+ :user => link_to(h(comment.author.display_name), user_path(comment.author))).html_safe %>
â <%= t('javascripts.changesets.show.unhide_comment') %>
<%= comment.body.to_html %>
@@ -77,6 +70,10 @@
+ <% else %>
+
+ <%= t('browse.changeset.still_open') %>
+
<% end %>
<% unless @ways.empty? %>