rename similar posts to recommended posts, refactor menu on posts/show
This commit is contained in:
7
app/views/posts/partials/index/_recommended.html.erb
Normal file
7
app/views/posts/partials/index/_recommended.html.erb
Normal 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>
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user