mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-31 19:36:44 +01:00
parent
9a9ce118c5
commit
39ff35c089
5 changed files with 8 additions and 7 deletions
|
@ -7,7 +7,7 @@ h1
|
|||
|
||||
.block
|
||||
.block__header
|
||||
span.block__header_title
|
||||
span.block__header__title
|
||||
| Display only:
|
||||
|
||||
= link "Removed", to: Routes.fingerprint_profile_tag_change_path(@conn, :index, @fingerprint, added: 0)
|
||||
|
|
|
@ -5,15 +5,16 @@ h1
|
|||
= @image.id
|
||||
|
||||
- route = fn p -> Routes.image_tag_change_path(@conn, :index, @image, p) end
|
||||
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @tag_changes, route: route, conn: @conn
|
||||
- params = if @conn.params["added"] do [added: @conn.params["added"]] else nil end
|
||||
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @tag_changes, route: route, conn: @conn, params: params
|
||||
|
||||
.block
|
||||
.block__header
|
||||
span.block__header_title
|
||||
span.block__header__title
|
||||
| Display only:
|
||||
|
||||
= link "Removed", to: Routes.image_tag_change_path(@conn, :index, @image, added: 0)
|
||||
= link "Added", to: Routes.image_tag_change_path(@conn, :index, @image, added: 1)
|
||||
= link "All", to: Routes.image_tag_change_path(@conn, :index, @image)
|
||||
|
||||
= render PhilomenaWeb.TagChangeView, "index.html", conn: @conn, tag_changes: @tag_changes, pagination: pagination
|
||||
= render PhilomenaWeb.TagChangeView, "index.html", conn: @conn, tag_changes: @tag_changes, pagination: pagination
|
||||
|
|
|
@ -7,7 +7,7 @@ h1
|
|||
|
||||
.block
|
||||
.block__header
|
||||
span.block__header_title
|
||||
span.block__header__title
|
||||
| Display only:
|
||||
|
||||
= link "Removed", to: Routes.ip_profile_tag_change_path(@conn, :index, to_string(@ip), added: 0)
|
||||
|
|
|
@ -8,7 +8,7 @@ h1
|
|||
|
||||
.block
|
||||
.block__header
|
||||
span.block__header_title
|
||||
span.block__header__title
|
||||
| Display only:
|
||||
|
||||
= link "Removed", to: Routes.profile_tag_change_path(@conn, :index, @user, added: 0)
|
||||
|
|
|
@ -8,7 +8,7 @@ h1
|
|||
|
||||
.block
|
||||
.block__header
|
||||
span.block__header_title
|
||||
span.block__header__title
|
||||
| Display only:
|
||||
|
||||
= link "Removed", to: Routes.tag_tag_change_path(@conn, :index, @tag, added: 0)
|
||||
|
|
Loading…
Reference in a new issue