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.
This commit is contained in:
evazion
2022-11-13 00:58:11 -06:00
parent d053dc7356
commit 33e4cbeb8d
11 changed files with 20 additions and 24 deletions

View File

@@ -6,12 +6,11 @@
<%= subnav_link_to "New", new_pool_path %>
<% end %>
<% if PoolVersion.enabled? %>
<%= subnav_link_to "Recent changes", pool_versions_path %>
<%= subnav_link_to "Changes", pool_versions_path %>
<% end %>
<%= subnav_link_to "Help", wiki_page_path("help:pools") %>
<% if @pool && !@pool.new_record? %>
<li>|</li>
<%= subnav_link_to "Show", pool_path(@pool) %>
<%= subnav_link_to "Posts", posts_path(:tags => "pool:#{@pool.id}") %>
<% if policy(@pool).update? %>
<%= subnav_link_to "Edit", edit_pool_path(@pool), "data-shortcut": "e" %>