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

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


> @@ -1,6 +1,13 @@
>  <div class="clearfix diary-comment">
>    <%= user_thumbnail diary_comment.user %>
> -  <p class="deemphasize comment-heading" id="comment<%= diary_comment.id %>"><%= raw(t('diary_entry.diary_comment.comment_from', :link_user => (link_to h(diary_comment.user.display_name), :controller => 'user', :action => 'view', :display_name => diary_comment.user.display_name), :comment_created_at => link_to(l(diary_comment.created_at, :format => :friendly), :anchor => "comment#{diary_comment.id}"))) %></p>
> +  <p class="deemphasize comment-heading" id="comment<%= diary_comment.id %>"><%= raw(t('diary_entry.diary_comment.comment_from', :link_user => (link_to h(diary_comment.user.display_name), :controller => 'user', :action => 'view', :display_name => diary_comment.user.display_name), :comment_created_at => link_to(l(diary_comment.created_at, :format => :friendly), :anchor => "comment#{diary_comment.id}"))) %>
> +    <% if @user and diary_comment.user.id != @user.id %>
> +  	  	<%= link_to new_issue_url(reportable_id: diary_comment.id, reportable_type: diary_comment.class.name, reported_user_id: diary_comment.user.id, referer: request.fullpath), :title => t('diary_entry.diary_comment.report') do %>

Tabs messed up indentation.

-- 
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#r74744680
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160815/5c986892/attachment.html>


More information about the rails-dev mailing list