Files
danbooru/app/views/artist_commentaries/index.html.erb
2017-07-19 16:48:42 -05:00

45 lines
1.2 KiB
Plaintext

<div id="c-artist-commentaries">
<div id="a-index">
<h1>Artist Commentary</h1>
<%= render "posts/partials/common/inline_blacklist" %>
<table width="100%" class="striped">
<thead>
<tr>
<th width="1%">Post</th>
<th>Original</th>
<th>Translated</th>
</tr>
</thead>
<tbody>
<% @commentaries.each do |commentary| %>
<tr>
<td><%= PostPresenter.preview(commentary.post, :tags => "status:any") %></td>
<td>
<h3><%= h(commentary.original_title) %></h3>
<div class="prose">
<%= format_text(commentary.original_description, :disable_mentions => true) %>
</div>
</td>
<td>
<h3><%= h(commentary.translated_title) %></h3>
<div class="prose">
<%= format_text(commentary.translated_description, :disable_mentions => true) %>
</div>
</td>
</tr>
<% end %>
</tbody>
</table>
<%= numbered_paginator(@commentaries) %>
<%= render "secondary_links" %>
</div>
</div>
<% content_for(:page_title) do %>
Artist Commentary - <%= Danbooru.config.app_name %>
<% end %>