[openstreetmap/openstreetmap-website] Allow reporting of abusive users to moderators or admins (#1268)
Ilya Zverev
notifications at github.com
Mon Aug 15 10:49:36 UTC 2016
> + <%= @issue.reports.count %> reports | First reported: <%= l @issue.created_at.to_datetime, :format => :friendly %> <%= "| Last resolved at #{l(@issue.resolved_at.to_datetime, :format =>:friendly)}" if @issue.resolved_at? %> <%= "| Last updated at #{l(@issue.updated_at.to_datetime, :format => :friendly)} by #{@updated_by_admin.display_name}" if @updated_by_admin %>
> + </small>
> + </p>
> + <p>
> + <%= link_to t('issues.resolve'), resolve_issue_url(@issue), :method => :post if @issue.may_resolve? %>
> + <% if @issue.may_ignore? %>
> + | <%= link_to t('issues.ignore'), ignore_issue_url(@issue), :method => :post %>
> + <% end %>
> + </p>
> + <p><%= link_to t('issues.reopen'), reopen_issue_url(@issue), :method => :post if @issue.may_reopen? %></p>
> +<% end %>
> +
> +<div class="report-related-block">
> +
> + <div class="report-block">
> + <h3>Reports under this issue:</h3>
General formatting, missing spaces and untranslated strings.
--
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#r74746035
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160815/977d0ed4/attachment.html>
More information about the rails-dev
mailing list