Fix #4231: Allow artist commentary titles to be formatted with DText.

This commit is contained in:
evazion
2019-12-28 12:19:22 -06:00
parent c95108d37b
commit bb4be383b9
6 changed files with 41 additions and 43 deletions

View File

@@ -20,16 +20,12 @@
<tr>
<td><%= link_to commentary_version.post_id, post_path(commentary_version.post_id) %></td>
<td>
<h3><%= h(commentary_version.original_title) %></h3>
<div class="prose">
<%= format_text(commentary_version.original_description, :disable_mentions => true) %>
</div>
<%= format_commentary_title(commentary_version.original_title) %>
<%= format_commentary_description(commentary_version.original_description) %>
</td>
<td>
<h3><%= h(commentary_version.translated_title) %></h3>
<div class="prose">
<%= format_text(commentary_version.translated_description, :disable_mentions => true) %>
</div>
<%= format_commentary_title(commentary_version.translated_title) %>
<%= format_commentary_description(commentary_version.translated_description) %>
</td>
<% if CurrentUser.is_moderator? %>
<td>

View File

@@ -19,16 +19,12 @@
<td><%= PostPresenter.preview(commentary_version.post, :tags => "status:any") %></td>
<td><%= link_to "#{commentary_version.post_id}.#{commentary_version.id}»", artist_commentary_versions_path(search: {post_id: commentary_version.post_id}) %></td>
<td>
<h3><%= h(commentary_version.original_title) %></h3>
<div class="prose">
<%= format_text(commentary_version.original_description, :disable_mentions => true) %>
</div>
<%= format_commentary_title(commentary_version.original_title) %>
<%= format_commentary_description(commentary_version.original_description) %>
</td>
<td>
<h3><%= h(commentary_version.translated_title) %></h3>
<div class="prose">
<%= format_text(commentary_version.translated_description, :disable_mentions => true) %>
</div>
<%= format_commentary_title(commentary_version.translated_title) %>
<%= format_commentary_description(commentary_version.translated_description) %>
</td>
<% if CurrentUser.is_moderator? %>
<td>