[openstreetmap/openstreetmap-website] Allow reporting of abusive users to moderators or admins (#1268)

Ilya Zverev notifications at github.com
Mon Aug 15 10:35:31 UTC 2016


> @@ -6,6 +6,12 @@
>  
>      <h2><%= link_to h(diary_entry.title), :action => 'view', :display_name => diary_entry.user.display_name, :id => diary_entry.id %></h2>
>  
> +    <% if @user and diary_entry.user.id != @user.id %>
> +           <%= link_to new_issue_url(reportable_id: diary_entry.id, reportable_type: diary_entry.class.name, reported_user_id: diary_entry.user.id,referer: request.fullpath), :title => t('diary_entry.diary_entry.report') do %>

Tabs and a space, again.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1268/files/ea2d71f25bdf7fbf4cd3e389c27be4af574d6ed3#r74744720
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160815/cf055edc/attachment.html>


More information about the rails-dev mailing list