mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-03-28 06:17:46 +01:00
Incorporate count into block header
This commit is contained in:
parent
33a95bc7e6
commit
c77ca70eb2
1 changed files with 6 additions and 3 deletions
|
@ -16,7 +16,10 @@ h1
|
|||
= link "Added", to: Routes.profile_tag_change_path(@conn, :index, @user, Keyword.merge(@pagination_params, added: 1))
|
||||
= link "All", to: Routes.profile_tag_change_path(@conn, :index, @user, Keyword.delete(@pagination_params, :added))
|
||||
|
||||
= render PhilomenaWeb.TagChangeView, "index.html", conn: @conn, tag_changes: @tag_changes, pagination: pagination
|
||||
.block__header.block__header--light
|
||||
span.block__header__title.page__info
|
||||
' Listing changes for
|
||||
=> @image_count
|
||||
= pluralize("image", "images", @image_count)
|
||||
|
||||
' Total affected images:
|
||||
= @image_count
|
||||
= render PhilomenaWeb.TagChangeView, "index.html", conn: @conn, tag_changes: @tag_changes, pagination: pagination
|
||||
|
|
Loading…
Add table
Reference in a new issue