]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/view.html.erb
Remove the hardcoded pixel width for columns.
[rails.git] / app / views / user / view.html.erb
index 137a390ba1fe6437b3280e7fafa1da6f21135eaf..68f27ca38fcb50d13f9678b8f331df2ca446db6a 100644 (file)
       </p>
     </div>
 
       </p>
     </div>
 
+    <% if current_user and @this_user.id != current_user.id %>
+      <div class="report-button">
+         <%= link_to new_issue_url(reportable_id: @this_user.id, reportable_type: @this_user.class.name, referer: request.fullpath), :title => t('user.view.report') do%>
+            &nbsp;&#9872;
+         <% end %>
+      </div>
+    <% end %>
+
     <div class="user-description richtext"><%= @this_user.description.to_html %></div>
 
   </div>
     <div class="user-description richtext"><%= @this_user.description.to_html %></div>
 
   </div>