* Refactor the paginator into a ViewComponent.
* Fix inconsistent spacing between paginator items.
* Fix a bug where the sequential paginator generated the wrong next /
previous page links in the <link rel="{next|prev}"> tags in the <head>.
* Always include the final page as a hidden html element, so that it can
be unhidden with custom CSS.
* Make it easier to change the pagination window.
29 lines
777 B
Plaintext
29 lines
777 B
Plaintext
<% page_title "Favgroup: #{@favorite_group.pretty_name}" %>
|
|
<%= render_meta_links @posts %>
|
|
<%= render "secondary_links" %>
|
|
|
|
<div id="c-favorite-groups">
|
|
<div id="a-show">
|
|
<h1>
|
|
Favorite Group:
|
|
<%= link_to @favorite_group.pretty_name, posts_path(:tags => "favgroup:#{@favorite_group.id} status:any") %>
|
|
</h1>
|
|
|
|
Creator: <%= link_to_user @favorite_group.creator %>
|
|
<br>
|
|
<br>
|
|
|
|
<%= render "posts/partials/common/inline_blacklist" %>
|
|
|
|
<section>
|
|
<% if @favorite_group.post_count == 0 %>
|
|
<%= render "post_sets/blank" %>
|
|
<% else %>
|
|
<%= post_previews_html(@posts, tags: "favgroup:#{@favorite_group.id}", show_deleted: true) %>
|
|
|
|
<%= numbered_paginator(@posts) %>
|
|
<% end %>
|
|
</section>
|
|
</div>
|
|
</div>
|