restyle pool nav links

This commit is contained in:
albert
2013-02-19 22:39:03 -05:00
parent cc6aa6f288
commit 274ef71794
2 changed files with 5 additions and 5 deletions

View File

@@ -112,15 +112,15 @@ class PostPresenter < Presenter
html << "<li>" html << "<li>"
if pool.neighbors(@post).previous if pool.neighbors(@post).previous
html << template.link_to("&laquo;".html_safe, template.post_path(pool.neighbors(@post).previous, :pool_id => pool.id)) html << template.link_to("&laquo;prev".html_safe, template.post_path(pool.neighbors(@post).previous, :pool_id => pool.id))
else else
html << "&laquo;" html << "&laquo;prev"
end end
if pool.neighbors(@post).next if pool.neighbors(@post).next
html << template.link_to("&raquo;".html_safe, template.post_path(pool.neighbors(@post).next, :pool_id => pool.id)) html << template.link_to("next&raquo;".html_safe, template.post_path(pool.neighbors(@post).next, :pool_id => pool.id))
else else
html << "&raquo;" html << "next&raquo;"
end end
html << " " html << " "

View File

@@ -53,7 +53,7 @@ class TagSetPresenter < Presenter
end end
if general_tags.any? if general_tags.any?
html << '<h2>Tags</h2>' html << '<h1>Tags</h1>'
html << "<ul>" html << "<ul>"
general_tags.keys.each do |tag| general_tags.keys.each do |tag|
html << build_list_item(tag, template, options) html << build_list_item(tag, template, options)