revamp saved search implementation
This commit is contained in:
@@ -52,7 +52,11 @@
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<%= render "posts/partials/common/secondary_links" %>
|
||||
<% if params[:tags] =~ /search:/ %>
|
||||
<%= render "saved_searches/secondary_links" %>
|
||||
<% else %>
|
||||
<%= render "posts/partials/common/secondary_links" %>
|
||||
<% end %>
|
||||
|
||||
<%= post_search_count_js %>
|
||||
</div>
|
||||
|
||||
@@ -7,10 +7,6 @@
|
||||
<li><%= link_to "Manage subscriptions", tag_subscriptions_path %></li>
|
||||
<% end %>
|
||||
|
||||
<% if @post_set.is_saved_search? %>
|
||||
<li><%= link_to "Manage saved searches", saved_searches_path %></li>
|
||||
<% end %>
|
||||
|
||||
<li><%= link_to "Random post", random_posts_path(:tags => params[:tags]), :id => "random-post", :rel => "nofollow" %></li>
|
||||
|
||||
<li><%= link_to "Mobile version", mobile_posts_path(:tags => params[:tags]) %></li>
|
||||
|
||||
Reference in New Issue
Block a user