fixes #2454: Add a new popular posts page for view counts
This commit is contained in:
17
app/views/explore/posts/popular_view.html.erb
Normal file
17
app/views/explore/posts/popular_view.html.erb
Normal file
@@ -0,0 +1,17 @@
|
||||
<div id="c-explore-posts">
|
||||
<div id="a-index">
|
||||
<h1>Popular (by views): <%= @post_set.presenter.range_text %></h1>
|
||||
|
||||
<%= @post_set.presenter.nav_links(self) %>
|
||||
|
||||
<%= render "posts/partials/common/inline_blacklist" %>
|
||||
|
||||
<%= @post_set.presenter.post_previews_html(self) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= render "posts/partials/common/secondary_links" %>
|
||||
|
||||
<% content_for(:page_title) do %>
|
||||
Popular (by views) - <%= Danbooru.config.app_name %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user