rename similar posts to recommended posts, refactor menu on posts/show

This commit is contained in:
Albert Yi
2018-07-20 16:36:14 -07:00
parent b8b0f2628d
commit 9cfb629891
12 changed files with 40 additions and 24 deletions

View File

@@ -0,0 +1,7 @@
<div class="recommended-posts">
<p><em>You might also like:</em></p>
<section class="user-disable-cropped-<%= Danbooru.config.enable_image_cropping && CurrentUser.user.disable_cropped_thumbnails? %>">
<%= PostSets::Recommended.new(post).presenter.post_previews_html(self) %>
</section>
</div>

View File

@@ -1,7 +0,0 @@
<div class="similar-posts">
<p><em>You might also like:</em></p>
<section>
<%= PostSets::Similar.new(post).presenter.post_previews_html(self) %>
</section>
</div>