saved searches: always show 'Saved searches' link in navbar.
* Always display 'Saved searches' link in subnav bar, even if the user hasn't created any saved searches yet. * Eliminate use of `has_saved_searches` bitpref on users.
This commit is contained in:
@@ -8,9 +8,7 @@
|
||||
<% unless CurrentUser.is_anonymous? %>
|
||||
<%= subnav_link_to "Favorites", posts_path(tags: "ordfav:#{CurrentUser.user.name}") %>
|
||||
<%= subnav_link_to "Fav groups", favorite_groups_path %>
|
||||
<% if CurrentUser.has_saved_searches? %>
|
||||
<%= subnav_link_to "Saved searches", posts_path(:tags => "search:all") %>
|
||||
<% end %>
|
||||
<%= subnav_link_to "Saved searches", posts_path(tags: "search:all") %>
|
||||
<% end %>
|
||||
<%= subnav_link_to "Changes", post_versions_path %>
|
||||
<% if CurrentUser.can_approve_posts? %>
|
||||
|
||||
Reference in New Issue
Block a user