mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-18 15:08:00 +01:00
26 lines
551 B
Text
26 lines
551 B
Text
|
h1
|
||
|
' Users with
|
||
|
=> @badge.title
|
||
|
' badge
|
||
|
|
||
|
- route = fn p -> Routes.admin_badge_user_path(@conn, :index, p) end
|
||
|
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @users, route: route, conn: @conn
|
||
|
|
||
|
.block
|
||
|
.block__header
|
||
|
= pagination
|
||
|
|
||
|
.block__content
|
||
|
table.table
|
||
|
thead
|
||
|
tr
|
||
|
th User
|
||
|
tbody
|
||
|
= for user <- @users do
|
||
|
tr
|
||
|
td
|
||
|
= link user.name, to: Routes.profile_path(@conn, :show, user)
|
||
|
|
||
|
.block__header.block__header--light
|
||
|
= pagination
|