/notes: default to listing notes, not posts. Remove group_by=post.

The posts listing is replaced by a link to order:note.
This commit is contained in:
evazion
2017-04-23 14:26:23 -05:00
parent 76eefd0ffe
commit e6d1842545
6 changed files with 8 additions and 61 deletions

View File

@@ -1,7 +1,8 @@
<% content_for(:secondary_links) do %>
<menu>
<li><%= render "notes/quick_search" %></li>
<li><%= link_to "Listing", notes_path(:group_by => "post") %></li>
<li><%= link_to "Listing", notes_path %></li>
<li><%= link_to "Posts", posts_path(:tags => "order:note") %></li>
<li><%= link_to "Search", search_notes_path %></li>
<li><%= link_to "History", note_versions_path %></li>
<li><%= link_to "Requests", posts_path(:tags => "translation_request") %></li>

View File

@@ -1,17 +0,0 @@
<div id="c-notes">
<div id="a-index">
<h1>Notes</h1>
<%= render "posts/partials/common/inline_blacklist" %>
<%= @post_set.presenter.post_previews_html(self) %>
<%= numbered_paginator(@posts, false) %>
</div>
</div>
<%= render "secondary_links" %>
<% content_for(:page_title) do %>
Notes - <%= Danbooru.config.app_name %>
<% end %>