philomena/lib/philomena_web/templates/report/index.html.slime

24 lines
602 B
Text
Raw Normal View History

2019-12-04 05:14:56 +01:00
h1 Your Reports
.block
.block__header
2023-11-23 17:07:49 +01:00
span Reports
2024-06-06 22:28:35 +02:00
- route = fn p -> ~p"/reports?#{p}" end
= render PhilomenaWeb.PaginationView, "_pagination.html", page: @reports, route: route, conn: @conn
2019-12-04 05:14:56 +01:00
.block__content
table.table
thead
tr
th State
th Reported Thing
th Reason
th Opened
tbody
= for r <- @reports do
tr
td class=report_row_class(r)
= pretty_state(r)
2024-06-06 22:28:35 +02:00
td = link_to_reported_thing(r.reportable)
2019-12-04 05:14:56 +01:00
td = r.reason
2020-02-20 22:08:07 +01:00
td = pretty_time(r.created_at)