modreports: remove dead code.
This commit is contained in:
@@ -3,9 +3,7 @@
|
||||
<h1>Moderation reports</h1>
|
||||
<%= table_for @moderation_reports, width: "100%" do |t| %>
|
||||
<% t.column "Reported", width: "10%" do |report| %>
|
||||
<% if report.model_type == "User" %>
|
||||
<%= link_to_user report.model %>
|
||||
<% elsif report.model_type == "Dmail" %>
|
||||
<% if report.model_type == "Dmail" %>
|
||||
<%= link_to report.model.dtext_shortlink, dmail_path(report.model, key: report.model.key) %>
|
||||
<% else %>
|
||||
<%= link_to report.model.dtext_shortlink, report.model %>
|
||||
|
||||
Reference in New Issue
Block a user