forked from e621ng/e621ng

width: 100% is already part of the class. Remove duplicate classes .table/.striped and exclusivly use the more common one. Add this class to PostReportReasons/Help, which were missing it.
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
<div id="c-email-blacklists">
|
|
<div id="a-index">
|
|
<%= render "search" %>
|
|
<h1>Email Blacklists</h1>
|
|
|
|
<table class="striped">
|
|
<thead>
|
|
<tr>
|
|
<th>User</th>
|
|
<th>Domain</th>
|
|
<th>Ban Reason</th>
|
|
<th>Created</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% @blacklists.each do |blacklist| %>
|
|
<tr>
|
|
<td><%= link_to_user(blacklist.creator) %></td>
|
|
<td>
|
|
<%= blacklist.domain %>
|
|
<%= link_to "»", users_path(search: { email_matches: "*@*#{blacklist.domain}" }) %>
|
|
</td>
|
|
<td><%= blacklist.reason %></td>
|
|
<td><%= compact_time blacklist.created_at %></td>
|
|
<td><%= link_to "Delete", email_blacklist_path(blacklist), method: :delete, data: {confirm: "Do your really want to delete #{blacklist.domain}?"} %></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
|
|
<%= numbered_paginator(@blacklists) %>
|
|
</div>
|
|
</div>
|
|
|
|
<%= render "secondary_links" %>
|
|
|
|
<% content_for(:page_title) do %>
|
|
Email Blacklists
|
|
<% end %>
|