added jlist rss ads

This commit is contained in:
albert
2013-01-05 22:51:00 -05:00
parent f44ba8fe9f
commit b43c096116
33 changed files with 312 additions and 6 deletions

View File

@@ -3,6 +3,8 @@
<aside id="sidebar">
<%= render "posts/partials/common/search", :path => posts_path, :tags => params[:tags] %>
<%= render_advertisement("vertical") %>
<%= render "posts/partials/index/mode_menu" %>
<section id="tag-box">
@@ -35,7 +37,9 @@
<% end %>
<% end %>
<%= render "posts/partials/common/secondary_links" %>
<%= render "posts/partials/common/secondary_links" %>
<%= render_rss_advertisement("short", @post_set.posts.any? {|x| x.rating == "e"}) %>
</div>
</div>

View File

@@ -1,4 +1,6 @@
<div id="posts">
<%= render_advertisement("horizontal") %>
<%= post_set.presenter.post_previews_html(self) %>
<%= numbered_paginator(post_set.posts) %>

View File

@@ -3,6 +3,8 @@
<aside id="sidebar">
<%= render "posts/partials/common/search", :path => posts_path, :tags => params[:tags] %>
<%= render_advertisement("vertical") %>
<% if @post.pools.any? %>
<section id="pool-sidebar">
<h1>Pools</h1>
@@ -36,7 +38,9 @@
<section id="content">
<%= render "posts/partials/show/notices", :post => @post %>
<%= render_advertisement("horizontal") %>
<section id="image-container">
<div id="note-container"></div>
<%= @post.presenter.image_html(self) %>
@@ -63,7 +67,9 @@
<section id="share" style="display: none;">
<%= render "posts/partials/show/share", :post => @post %>
</section>
</section>
<%= render_rss_advertisement("long", @post.rating == "e") %>
</section>
</div>
<div id="flag-dialog" title="Flag post">