X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/14ac1babc2517320a2c90fa9b4ac36a5a6e68018..c3ad6aa2923c03aeeea0b57033b0a9238d262aa2:/app/views/browse/changeset.html.erb diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index bbe227921..9fc7ec548 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -3,19 +3,27 @@

<%= 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, reported_user_id: @changeset.user.id,referer: request.fullpath), :title => t('browse.changeset.report') do %> +  ⚐ + <% end %> + <% end %>

+ +

<%= linkify(h(@changeset.tags['comment'].to_s.presence || t('browse.no_comment'))) %>

<%= changeset_details(@changeset) %>
+ <%= render :partial => "tag_details", :object => @changeset.tags.except('comment') %>

<%= t('browse.changeset.discussion') %>

- <% if @changeset.subscribers.exists?(@user) %> + <% if @user and @changeset.subscribers.exists?(@user.id) %> <% else %> @@ -105,7 +113,7 @@
    <% @nodes.each do |node| %> -
  • <%= link_to printable_name(node, true), { :action => "node", :id => node.node_id.to_s }, :class => link_class('node', node), :title => link_title(node) %>
  • +
  • <%= link_to printable_name(node, true), { :action => "node", :id => node.node_id.to_s }, :class => link_class('node', node), :title => link_title(node), :rel => link_follow(node) %>
  • <% end %>
<% end %> @@ -119,7 +127,7 @@ <% end %> <%= user = (@prev_by_user || @next_by_user).user.display_name - link_to user, :controller => "changeset", :action => "list", :display_name => user + link_to content_tag(:bdi, user), :controller => "changeset", :action => "list", :display_name => user %> <% if @next_by_user %> ·