]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/changeset.html.erb
Whitespace fixes.
[rails.git] / app / views / browse / changeset.html.erb
index 7e08ac3a8f5a62b42e7c48954f0aa146d1fae290..b1401d5ac8aee14fdae4a96f7010d22e7afcb4c2 100644 (file)
@@ -3,6 +3,11 @@
 <h2>
   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
   <%= 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 %>
+        &nbsp;&#9872;
+    <% end %>
+  <% end %>
 </h2>
 
 <div class="browse-section">
@@ -12,7 +17,7 @@
   <%= render :partial => "tag_details", :object => @changeset.tags.except('comment') %>
 
   <h4 class="comments-header"><%= t('browse.changeset.discussion') %></h4>
-  
+
   <div class="buttons clearfix subscribe-buttons">
     <form action="#" class="hide_unless_logged_in">
       <% if @user and @changeset.subscribers.exists?(@user.id) %>
 <% end %>
 
 <div class='secondary-actions'>
-  <% if @user and @user.id != @changeset.user.id %>
-    <%= link_to t('browse.changeset.report'), new_issue_url(reportable_id: @changeset.id, reportable_type: @changeset.class.name, reported_user_id: @changeset.user.id) %>
-    &middot;
-  <% end %>
   <%= link_to(t('browse.changeset.changesetxml'), :controller => "changeset", :action => "read") %>
   &middot;
   <%= link_to(t('browse.changeset.osmchangexml'), :controller => "changeset", :action => "download") %>