{{ extends "layouts/index_admin" }} {{ import "layouts/partials/helpers/csrf" }} {{ block title()}}{{ T("moderation_overview") }}{{end}} {{ block content_body()}}

{{ T("last_torrents") }}

{{range Torrents}} {{end}}
{{ T("name") }} {{ T("username") }} {{ T("actions") }}
{{ .Name }} {{ T("edit") }} {{ .UploaderID }}

{{ T("last_reports") }}

{{range TorrentReports}} {{end}}
{{ T("name") }} {{ T("username") }} {{ T("reason") }} {{ T("message") }} {{ T("actions") }}
{{ .Torrent.Name }} {{ T("edit") }} {{.User.Username}} {{ getReportDescription(.Description,T) }} {{.Message}}

{{ T("last_users") }}

{{range Users}} {{end}}
{{ T("username") }} {{ T("actions") }}
{{ .Username }} {{if .ID > 0}}
{{ yield csrf_field()}}
{{end}}

{{ T("last_comments") }}

{{range Comments}} {{end}}
{{ T("comments") }} {{ T("username") }} {{ T("actions") }}
{{ .Content }} {{if .User }}{{ .User.Username }}{{else}}れんちょん{{end}}
{{end}}