Files
danbooru/app/views/artist_commentaries/index.html.erb
evazion 72e56d8856 PostPresenter.preview: standardize on show_deleted: true.
Standardize on using `show_deleted: true` instead of `tags: "status:any"`
when rendering thumbnails and we want to show deleted thumbnails.

Also fixes it so that deleted thumbnails are shown when reordering pools
and favorite groups.
2020-02-18 19:22:57 -06:00

26 lines
885 B
Plaintext

<div id="c-artist-commentaries">
<div id="a-index">
<h1>Artist Commentary</h1>
<%= render "posts/partials/common/inline_blacklist" %>
<%= table_for @commentaries, width: "100%" do |t| %>
<% t.column "Post", width: "1%" do |commentary| %>
<%= PostPresenter.preview(commentary.post, show_deleted: true) %>
<% end %>
<% t.column "Original" do |commentary| %>
<%= format_commentary_title(commentary.original_title) %>
<%= format_commentary_description(commentary.original_description) %>
<% end %>
<% t.column "Translated" do |commentary| %>
<%= format_commentary_title(commentary.translated_title) %>
<%= format_commentary_description(commentary.translated_description) %>
<% end %>
<% end %>
<%= numbered_paginator(@commentaries) %>
</div>
</div>
<%= render "secondary_links" %>