]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/view.html.erb
Add some more tests, better error handling for dates
[rails.git] / app / views / user / view.html.erb
index 3a09165b9d34ba8eafadfb0a5ddc96becc2352b4..0acb3f0145a622e05207d1bb109c18083064e503 100644 (file)
             </li>
           <% end %>
 
+          <% if current_user and @user.id != current_user.id %>
+            <li>
+              <%= report_link(t(".report"), @user) %>
+            </li>
+          <% end %>
         </ul>
 
       <% end %>