Files
danbooru/app/views/comments/_secondary_links.html.erb
evazion 33e4cbeb8d Fix #5179: Add wiki page versions to wiki page secondary links plus standardization
* Call it "Changes" when referring to the global list of changes (pool changes, artist changes, etc).
* Call it "History" when referring to the history of a single item (pool history, artist history, etc).
* Put the artist history search form on the /artist_versions page, and remove the /artist_versions/search endpoint.
2022-11-13 00:58:11 -06:00

10 lines
417 B
Plaintext

<% content_for(:secondary_links) do %>
<%= quick_search_form_for(:body_matches, comments_path, "comments") %>
<%= subnav_link_to "Comments", comments_path %>
<%= subnav_link_to "Search", comments_path(group_by: "comment") %>
<% if policy(CommentVote).can_see_votes? %>
<%= subnav_link_to "Votes", comment_votes_path %>
<% end %>
<%= subnav_link_to "Help", wiki_page_path("help:comments") %>
<% end %>