-
Notifications
You must be signed in to change notification settings - Fork 407
/
index.html.erb
44 lines (39 loc) · 1.21 KB
/
index.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<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, :ragel => true) %>
</div>
</td>
<td>
<h3><%= h(commentary.translated_title) %></h3>
<div class="prose">
<%= format_text(commentary.translated_description, :ragel => 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 %>