@@ -110,7 +110,11 @@
diff --git a/app/views/news_updates/_secondary_links.html.erb b/app/views/news_updates/_secondary_links.html.erb
index d9b8c75e1..798db0c5b 100644
--- a/app/views/news_updates/_secondary_links.html.erb
+++ b/app/views/news_updates/_secondary_links.html.erb
@@ -1,6 +1,4 @@
<% content_for(:secondary_links) do %>
-
+ <%= subnav_link_to "Listing", news_updates_path %>
+ <%= subnav_link_to "New", new_news_update_path %>
<% end %>
diff --git a/app/views/notes/_secondary_links.html.erb b/app/views/notes/_secondary_links.html.erb
index 84d768677..e091d2e7d 100644
--- a/app/views/notes/_secondary_links.html.erb
+++ b/app/views/notes/_secondary_links.html.erb
@@ -1,11 +1,9 @@
<% content_for(:secondary_links) do %>
-
+ <%= quick_search_form_for(:body_matches, notes_path, "notes") %>
+ <%= subnav_link_to "Listing", notes_path %>
+ <%= subnav_link_to "Posts", posts_path(:tags => "order:note") %>
+ <%= subnav_link_to "Search", search_notes_path %>
+ <%= subnav_link_to "History", note_versions_path %>
+ <%= subnav_link_to "Requests", posts_path(:tags => "translation_request") %>
+ <%= subnav_link_to "Help", wiki_pages_path(:title => "help:notes") %>
<% end %>
diff --git a/app/views/pools/_secondary_links.html.erb b/app/views/pools/_secondary_links.html.erb
index cd9f49bdd..2ac2dee3e 100644
--- a/app/views/pools/_secondary_links.html.erb
+++ b/app/views/pools/_secondary_links.html.erb
@@ -1,30 +1,28 @@
<% content_for(:secondary_links) do %>
-
+ <% if PoolArchive.enabled? %>
+ <%= subnav_link_to "History", pool_versions_path(:search => {:pool_id => @pool.id}) %>
+ <% end %>
+ <% if CurrentUser.is_member? %>
+ <%= subnav_link_to "Order", edit_pool_order_path(@pool) %>
+ <% end %>
+ <% end %>
<% end %>
diff --git a/app/views/post_versions/_secondary_links.html.erb b/app/views/post_versions/_secondary_links.html.erb
index 135a7cc7f..1c193a4c0 100644
--- a/app/views/post_versions/_secondary_links.html.erb
+++ b/app/views/post_versions/_secondary_links.html.erb
@@ -1,9 +1,7 @@
<% content_for(:secondary_links) do %>
-
+ <%= subnav_link_to "Listing", posts_path %>
+ <%= subnav_link_to "Upload", new_upload_path %>
+ <%= subnav_link_to "Search", search_post_versions_path %>
+ <%= subnav_link_to "Changes", post_versions_path %>
+ <%= subnav_link_to "Help", wiki_pages_path(:title => "help:posts") %>
<% end %>
diff --git a/app/views/posts/partials/common/_secondary_links.html.erb b/app/views/posts/partials/common/_secondary_links.html.erb
index ce9045a49..4500860c4 100644
--- a/app/views/posts/partials/common/_secondary_links.html.erb
+++ b/app/views/posts/partials/common/_secondary_links.html.erb
@@ -1,22 +1,20 @@
<% content_for(:secondary_links) do %>
-
+ <% end %>
+ <%= subnav_link_to "Changes", post_versions_path %>
+ <% if CurrentUser.can_approve_posts? %>
+ <%= subnav_link_to "Moderate", moderator_post_queue_path %>
+ <% end %>
+ <%= subnav_link_to "Help", wiki_pages_path(:title => "help:posts") %>
<% end %>
diff --git a/app/views/saved_searches/_secondary_links.html.erb b/app/views/saved_searches/_secondary_links.html.erb
index bb256851b..8d2fb9ac7 100644
--- a/app/views/saved_searches/_secondary_links.html.erb
+++ b/app/views/saved_searches/_secondary_links.html.erb
@@ -1,6 +1,4 @@
<% content_for(:secondary_links) do %>
-
+ <%= subnav_link_to "View posts", posts_path(:tags => "search:all") %>
+ <%= subnav_link_to "Manage saved searches", saved_searches_path %>
<% end %>
diff --git a/app/views/sessions/_secondary_links.html.erb b/app/views/sessions/_secondary_links.html.erb
index 5fc14e383..f2e4f7dbf 100644
--- a/app/views/sessions/_secondary_links.html.erb
+++ b/app/views/sessions/_secondary_links.html.erb
@@ -1,7 +1,5 @@
<% content_for(:secondary_links) do %>
-
+ <%= subnav_link_to "Sign up", new_user_path %>
+ <%= subnav_link_to "Reset Password", new_maintenance_user_password_reset_path %>
+ <%= subnav_link_to "Login Reminder", new_maintenance_user_login_reminder_path %>
<% end %>
diff --git a/app/views/tag_aliases/_secondary_links.html.erb b/app/views/tag_aliases/_secondary_links.html.erb
index 03310c095..43e5280a9 100644
--- a/app/views/tag_aliases/_secondary_links.html.erb
+++ b/app/views/tag_aliases/_secondary_links.html.erb
@@ -1,9 +1,7 @@
<% content_for(:secondary_links) do %>
-
+ <%= subnav_link_to "Listing", tag_aliases_path %>
+ <%= subnav_link_to "MetaSearch", meta_searches_tags_path %>
+ <%= subnav_link_to "Request alias", new_tag_alias_request_path %>
+ <%= subnav_link_to "Request bulk update", new_bulk_update_request_path %>
+ <%= subnav_link_to "Help", wiki_pages_path(:title => "help:tag_aliases") %>
<% end %>
diff --git a/app/views/tag_implications/_secondary_links.html.erb b/app/views/tag_implications/_secondary_links.html.erb
index 7fe94b213..4b5cb3f60 100644
--- a/app/views/tag_implications/_secondary_links.html.erb
+++ b/app/views/tag_implications/_secondary_links.html.erb
@@ -1,9 +1,7 @@
<% content_for(:secondary_links) do %>
-
+ <%= subnav_link_to "Listing", tag_implications_path %>
+ <%= subnav_link_to "MetaSearch", meta_searches_tags_path %>
+ <%= subnav_link_to "Request implication", new_tag_implication_request_path %>
+ <%= subnav_link_to "Request bulk update", new_bulk_update_request_path %>
+ <%= subnav_link_to "Help", wiki_pages_path(:title => "help:tag_implications") %>
<% end %>
diff --git a/app/views/tags/_secondary_links.html.erb b/app/views/tags/_secondary_links.html.erb
index 88b59f1c0..64f307ebc 100644
--- a/app/views/tags/_secondary_links.html.erb
+++ b/app/views/tags/_secondary_links.html.erb
@@ -1,18 +1,16 @@
<% content_for(:secondary_links) do %>
-
+ <% end %>
<% end %>
diff --git a/app/views/uploads/_secondary_links.html.erb b/app/views/uploads/_secondary_links.html.erb
index 3f5668e17..e85e7d9c9 100644
--- a/app/views/uploads/_secondary_links.html.erb
+++ b/app/views/uploads/_secondary_links.html.erb
@@ -1,9 +1,7 @@
<% content_for(:secondary_links) do %>
-
+ <%= subnav_link_to "Listing", uploads_path %>
+ <%= subnav_link_to "New", new_upload_path %>
+ <%= subnav_link_to "Batch Upload", batch_uploads_path %>
+ <%= subnav_link_to "Similar Images Search", iqdb_queries_path %>
+ <%= subnav_link_to "Help", wiki_pages_path(search: { title: "help:upload" }) %>
<% end %>
diff --git a/app/views/user_feedbacks/_secondary_links.html.erb b/app/views/user_feedbacks/_secondary_links.html.erb
index ef3ac9831..d97e8bd8d 100644
--- a/app/views/user_feedbacks/_secondary_links.html.erb
+++ b/app/views/user_feedbacks/_secondary_links.html.erb
@@ -1,15 +1,13 @@
<% content_for(:secondary_links) do %>
-
+ <% end %>
+ <%= subnav_link_to "Listing", user_feedbacks_path %>
+ <%= subnav_link_to "Search", search_user_feedbacks_path %>
<% end %>
diff --git a/app/views/user_name_change_requests/_secondary_links.html.erb b/app/views/user_name_change_requests/_secondary_links.html.erb
index 5e839727a..0ff9a13ff 100644
--- a/app/views/user_name_change_requests/_secondary_links.html.erb
+++ b/app/views/user_name_change_requests/_secondary_links.html.erb
@@ -1,7 +1,5 @@
<% content_for(:secondary_links) do %>
-
+ <%= subnav_link_to "Listing", user_name_change_requests_path %>
+ <%= subnav_link_to "New", new_user_name_change_request_path %>
+ <%= subnav_link_to "Help", wiki_pages_path(:search => {:title => "help:user_name_change_requests"}) %>
<% end %>
diff --git a/app/views/users/_secondary_links.html.erb b/app/views/users/_secondary_links.html.erb
index 52d93c233..6257c83b8 100644
--- a/app/views/users/_secondary_links.html.erb
+++ b/app/views/users/_secondary_links.html.erb
@@ -1,41 +1,39 @@
<% content_for(:secondary_links) do %>
-
+
+
|
+ <%= subnav_link_to "Sign out", sign_out_session_path %>
+ <% end %>
<% end %>
diff --git a/app/views/wiki_pages/_secondary_links.html.erb b/app/views/wiki_pages/_secondary_links.html.erb
index 421aadc1b..440781321 100644
--- a/app/views/wiki_pages/_secondary_links.html.erb
+++ b/app/views/wiki_pages/_secondary_links.html.erb
@@ -1,49 +1,32 @@
<% content_for(:secondary_links) do %>
-
+ <% elsif @wiki_page_version %>
+
|
+ <%= subnav_link_to "Newest", wiki_page_path(@wiki_page_version.wiki_page_id) %>
+ <% if @wiki_page_version.previous %>
+ <%= subnav_link_to "Diff", diff_wiki_page_versions_path(:otherpage => @wiki_page_version.id, :thispage => @wiki_page_version.previous.id) %>
+ <% end %>
+ <% if CurrentUser.is_member? %>
+ <%= subnav_link_to "Revert to", revert_wiki_page_path(@wiki_page_version.wiki_page_id, :version_id => @wiki_page_version.id), :method => :put, :data => {:confirm => "Are you sure you want to revert to this version?"} %>
+ <% end %>
+ <% end %>
<% end %>