This commit is contained in:
albert
2013-03-09 20:48:37 -05:00
parent bbc8797a10
commit 27926df522
4 changed files with 119 additions and 20 deletions

View File

@@ -1,19 +0,0 @@
<p>
<span class="period">
<%= link_to "&laquo;prev".html_safe, popular_explore_posts_path(:date => post_set.presenter.prev_day, :scale => "day") %>
<%= link_to "Day", popular_explore_posts_path(:date => post_set.presenter.date, :scale => "day"), :class => "desc" %>
<%= link_to "next&raquo;".html_safe, popular_explore_posts_path(:date => post_set.presenter.next_day, :scale => "day") %>
</span>
|
<span class="period">
<%= link_to "&laquo;prev".html_safe, popular_explore_posts_path(:date => post_set.presenter.prev_week, :scale => "week") %>
<%= link_to "Week", popular_explore_posts_path(:date => post_set.presenter.date, :scale => "week"), :class => "desc" %>
<%= link_to "next&raquo;".html_safe, popular_explore_posts_path(:date => post_set.presenter.next_week, :scale => "week") %>
</span>
|
<span class="period">
<%= link_to "&laquo;prev".html_safe, popular_explore_posts_path(:date => post_set.presenter.prev_month, :scale => "month") %>
<%= link_to "Month", popular_explore_posts_path(:date => post_set.presenter.date, :scale => "month"), :class => "desc" %>
<%= link_to "next&raquo;".html_safe, popular_explore_posts_path(:date => post_set.presenter.next_month, :scale => "month") %>
</span>
</p>

View File

@@ -2,7 +2,7 @@
<div id="a-index">
<h1>Popular: <%= @post_set.presenter.range_text %></h1>
<%= render "date_explore", :post_set => @post_set %>
<%= @post_set.presenter.nav_links(self) %>
<%= render "blacklists" %>