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.
33 lines
753 B
Plaintext
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>
|