2019-12-01 05:51:44 +01:00
|
|
|
h1 Duplicate Reports
|
|
|
|
|
2024-06-06 22:28:35 +02:00
|
|
|
- route = fn p -> ~p"/duplicate_reports?#{p}" end
|
2020-04-07 04:57:34 +02:00
|
|
|
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @duplicate_reports, route: route, conn: @conn, params: [states: @conn.params["states"] || ["open", "claimed"]]
|
2019-12-01 05:51:44 +01:00
|
|
|
|
|
|
|
.block
|
2020-12-11 17:53:40 +01:00
|
|
|
.block__header.page__header
|
|
|
|
.page__pagination = pagination
|
|
|
|
.page__info
|
2023-11-23 17:07:49 +01:00
|
|
|
span Display only:
|
2024-06-06 22:28:35 +02:00
|
|
|
=> link "Open (All)", to: ~p"/duplicate_reports?#{[states: ~W(open claimed)]}"
|
|
|
|
=> link "Open (Unclaimed)", to: ~p"/duplicate_reports?#{[states: ~W(open)]}"
|
|
|
|
=> link "Open (Claimed)", to: ~p"/duplicate_reports?#{[states: ~W(claimed)]}"
|
|
|
|
=> link "Open + Rejected", to: ~p"/duplicate_reports?#{[states: ~W(open rejected)]}"
|
|
|
|
=> link "Rejected", to: ~p"/duplicate_reports?#{[states: ~W(rejected)]}"
|
|
|
|
=> link "Rejected + Accepted", to: ~p"/duplicate_reports?#{[states: ~W(rejected accepted)]}"
|
|
|
|
=> link "Accepted", to: ~p"/duplicate_reports?#{[states: ~W(accepted)]}"
|
|
|
|
= link "All", to: ~p"/duplicate_reports?#{[states: ~W(open rejected accepted claimed)]}"
|
2019-12-01 05:51:44 +01:00
|
|
|
|
|
|
|
= render PhilomenaWeb.DuplicateReportView, "_list.html", duplicate_reports: @duplicate_reports, conn: @conn
|
|
|
|
|
|
|
|
.block
|
2020-12-11 17:53:40 +01:00
|
|
|
.block__header.block__header--light.page__header
|
|
|
|
.page__pagination = pagination
|