X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e31376e28da8f656e33508cc899da465b63673c5..7dbf8d83369cb73929080c4ba23fdd7dcd0184df:/app/views/browse/changeset.html.erb diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index be0086863..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 @user and @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? %>