restyle pool nav links
This commit is contained in:
@@ -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("«".html_safe, template.post_path(pool.neighbors(@post).previous, :pool_id => pool.id))
|
html << template.link_to("«prev".html_safe, template.post_path(pool.neighbors(@post).previous, :pool_id => pool.id))
|
||||||
else
|
else
|
||||||
html << "«"
|
html << "«prev"
|
||||||
end
|
end
|
||||||
|
|
||||||
if pool.neighbors(@post).next
|
if pool.neighbors(@post).next
|
||||||
html << template.link_to("»".html_safe, template.post_path(pool.neighbors(@post).next, :pool_id => pool.id))
|
html << template.link_to("next»".html_safe, template.post_path(pool.neighbors(@post).next, :pool_id => pool.id))
|
||||||
else
|
else
|
||||||
html << "»"
|
html << "next»"
|
||||||
end
|
end
|
||||||
|
|
||||||
html << " "
|
html << " "
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user