Files
danbooru/app/views/favorite_groups/show.html.erb
evazion 2e6f480d07 pools: fix pool gallery page layout.
Fix the /pools/gallery page layout being broken by 8841de68a.

This required refactoring the PostGalleryComponent to take a set of
PostPreviewComponents instead of a set of Posts.

The upshot is that it's technically possible to have adjustable
thumbnail sizes on the pool gallery page now (although this is not yet
exposed in the UI).
2021-12-05 02:52:07 -06:00

25 lines
697 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" %>
<%= render_post_gallery(@posts, tags: "favgroup:#{@favorite_group.id}", show_deleted: true) do |gallery| %>
<% gallery.footer do %>
<%= numbered_paginator(@posts) %>
<% end %>
<% end %>
</div>
</div>