Files
danbooru/app/views/mod_actions/index.html.erb
evazion 73a4d675c0 css: ensure dtext is always wrapped in .prose container.
Ensure dtext is always wrapped in a `<div class="prose">` or
`<span class="prose">` (for inline dtext) container so that dtext css is
properly applied.
2019-09-17 00:28:41 -05:00

33 lines
753 B
Plaintext

<div id="c-mod-actions">
<div id="a-index">
<h1>Mod Actions</h1>
<%= render "search" %>
<table class="striped" width="100%">
<thead>
<tr>
<th>Date</th>
<th>User</th>
<th>Message</th>
</tr>
</thead>
<tbody>
<% @mod_actions.each do |mod_action| %>
<tr>
<td><%= compact_time mod_action.created_at %></td>
<td><%= link_to_user mod_action.creator %></td>
<td>
<div class="prose">
<%= format_text(mod_action.filtered_description) %>
</div>
</td>
</tr>
<% end %>
</tbody>
</table>
<%= numbered_paginator(@mod_actions) %>
</div>
</div>