* Rename 'privacy mode' to 'private favorites'. * Make the private favorites setting only hide favorites, not favgroups and not the user's uploads on their profile page. * Make the favgroup is_public flag default to true instead of false and fix existing favgroups to be public if the user didn't have privacy mode enabled before. * List _all_ public favgroups on the /favorite_groups index, not just favgroups belonging to the current user. * Add a /users/<id>/favorite_groups endpoint.
19 lines
940 B
Plaintext
19 lines
940 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(search: { user_name: CurrentUser.name }) %>
|
|
<% end %>
|
|
<% unless CurrentUser.is_anonymous? %>
|
|
<%= subnav_link_to "Favorites", posts_path(tags: "ordfav:#{CurrentUser.user.name}") %>
|
|
<%= subnav_link_to "Fav groups", user_favorite_groups_path(CurrentUser.id) %>
|
|
<%= 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 %>
|