philomena/lib/philomena_web/templates/admin/approval/index.html.slime

17 lines
445 B
Text
Raw Permalink Normal View History

- route = fn p -> ~p"/admin/approvals?#{p}" end
2022-03-24 17:31:57 +01:00
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @images, route: route
h1 Approval Queue
.block
.block__header
= pagination
= if Enum.any?(@images) do
= render PhilomenaWeb.Admin.ApprovalView, "_approvals.html", images: @images, conn: @conn
- else
' No images are pending approval. Good job!
.block__header.block__header--light
= pagination