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.
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
<div id="c-notes">
|
|
<div id="a-index">
|
|
<h1>Notes</h1>
|
|
|
|
<%= render "search" %>
|
|
<table class="striped autofit">
|
|
<thead>
|
|
<tr>
|
|
<th>Post</th>
|
|
<th>Note</th>
|
|
<th>Created by</th>
|
|
<th>Created at</th>
|
|
<th>Body</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% @notes.each do |note| %>
|
|
<tr>
|
|
<td><%= link_to note.post_id, post_path(note.post_id) %></td>
|
|
<td>
|
|
<%= link_to "#{note.id}.#{note.version}", post_path(note.post_id, anchor: "note-#{note.id}") %>
|
|
<%= link_to "»", note_versions_path(search: {note_id: note.id}) %>
|
|
</td>
|
|
<td><%= link_to_user note.creator %></td>
|
|
<td><%= compact_time(note.created_at) %></td>
|
|
<td class="col-expand">
|
|
<%= h(note.body) %>
|
|
<% unless note.is_active? %>
|
|
<span class="inactive">(deleted)</span>
|
|
<% end %>
|
|
</td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
|
|
<%= numbered_paginator(@notes) %>
|
|
</div>
|
|
</div>
|
|
|
|
<%= render "secondary_links" %>
|
|
|
|
<% content_for(:page_title) do %>
|
|
Notes
|
|
<% end %>
|