]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/view.html.erb
Fully internationalise the issues and reports interfaces.
[rails.git] / app / views / user / view.html.erb
index 137a390ba1fe6437b3280e7fafa1da6f21135eaf..15c60beeb3ace5c7eadae4d99adb9047a3f40319 100644 (file)
       </p>
     </div>
 
+    <% if current_user and @this_user.id != current_user.id %>
+      <div class="report-button">
+         <%= link_to new_report_url(reportable_id: @this_user.id, reportable_type: @this_user.class.name), :title => t('user.view.report') do %>
+            &nbsp;&#9872;
+         <% end %>
+      </div>
+    <% end %>
+
     <div class="user-description richtext"><%= @this_user.description.to_html %></div>
 
   </div>