* Open recommendations to all users (not just gold). * Show recommendations on all posts (not just posts after 2017). * Allow users to browse recommendations for other users. * Increase number of recommended posts returned. * Change endpoints to /recommended_posts?user_id=1234 and /recommended_posts?post_id=1234 and add json/xml support.
19 lines
903 B
Plaintext
19 lines
903 B
Plaintext
<% content_for(:secondary_links) do %>
|
|
<%= subnav_link_to "Listing", posts_path %>
|
|
<%= subnav_link_to "Upload", new_upload_path %>
|
|
<%= subnav_link_to "Hot", posts_path(:tags => "order:rank", :d => "1") %>
|
|
<% if RecommenderService.available_for_user?(CurrentUser.user) %>
|
|
<%= subnav_link_to "Recommended", recommended_posts_path(user_id: CurrentUser.id) %>
|
|
<% end %>
|
|
<% unless CurrentUser.is_anonymous? %>
|
|
<%= subnav_link_to "Favorites", posts_path(tags: "ordfav:#{CurrentUser.user.name}") %>
|
|
<%= subnav_link_to "Fav groups", favorite_groups_path %>
|
|
<%= subnav_link_to "Saved searches", posts_path(tags: "search:all") %>
|
|
<% 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_page_path("help:posts") %>
|
|
<% end %>
|