fixes #736
This commit is contained in:
@@ -299,6 +299,21 @@ div#c-post-versions {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div#c-explore-posts {
|
||||||
|
a.desc {
|
||||||
|
font-weight: bold;
|
||||||
|
margin: 0 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.period {
|
||||||
|
margin: 0 0.5em;
|
||||||
|
|
||||||
|
&:first-child {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
div#unapprove-dialog {
|
div#unapprove-dialog {
|
||||||
p {
|
p {
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
<aside id="sidebar">
|
<p>
|
||||||
<ul>
|
<span class="period">
|
||||||
<li>
|
<%= link_to "«prev".html_safe, popular_explore_posts_path(:date => post_set.presenter.prev_day, :scale => "day") %>
|
||||||
<%= link_to "«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»".html_safe, popular_explore_posts_path(:date => post_set.presenter.next_day, :scale => "day") %>
|
<%= link_to "next»".html_safe, popular_explore_posts_path(:date => post_set.presenter.next_day, :scale => "day") %>
|
||||||
<%= link_to "Day", popular_explore_posts_path(:date => post_set.presenter.date, :scale => "day") %>
|
</span>
|
||||||
</li>
|
|
|
||||||
<li>
|
<span class="period">
|
||||||
<%= link_to "«prev".html_safe, popular_explore_posts_path(:date => post_set.presenter.prev_week, :scale => "week") %>
|
<%= link_to "«prev".html_safe, popular_explore_posts_path(:date => post_set.presenter.prev_week, :scale => "week") %>
|
||||||
<%= link_to "next»".html_safe, popular_explore_posts_path(:date => post_set.presenter.next_week, :scale => "week") %>
|
<%= link_to "Week", popular_explore_posts_path(:date => post_set.presenter.date, :scale => "week"), :class => "desc" %>
|
||||||
<%= link_to "Week", popular_explore_posts_path(:date => post_set.presenter.date, :scale => "week") %>
|
<%= link_to "next»".html_safe, popular_explore_posts_path(:date => post_set.presenter.next_week, :scale => "week") %>
|
||||||
</li>
|
</span>
|
||||||
<li>
|
|
|
||||||
<%= link_to "«prev".html_safe, popular_explore_posts_path(:date => post_set.presenter.prev_month, :scale => "month") %>
|
<span class="period">
|
||||||
<%= link_to "next»".html_safe, popular_explore_posts_path(:date => post_set.presenter.next_month, :scale => "month") %>
|
<%= link_to "«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") %>
|
<%= link_to "Month", popular_explore_posts_path(:date => post_set.presenter.date, :scale => "month"), :class => "desc" %>
|
||||||
</li>
|
<%= link_to "next»".html_safe, popular_explore_posts_path(:date => post_set.presenter.next_month, :scale => "month") %>
|
||||||
</ul>
|
</span>
|
||||||
</aside>
|
</p>
|
||||||
@@ -1,12 +1,10 @@
|
|||||||
<div id="c-explore-posts">
|
<div id="c-explore-posts">
|
||||||
<div id="a-index">
|
<div id="a-index">
|
||||||
<h1>Explore: <%= @post_set.presenter.range_text %></h1>
|
<h1>Popular: <%= @post_set.presenter.range_text %></h1>
|
||||||
|
|
||||||
<%= render "date_explore", :post_set => @post_set %>
|
<%= render "date_explore", :post_set => @post_set %>
|
||||||
|
|
||||||
<section id="content">
|
<%= @post_set.presenter.post_previews_html(self) %>
|
||||||
<%= @post_set.presenter.post_previews_html(self) %>
|
|
||||||
</section>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user