{{define "admin/logs.html"}} {{template "admin_shell_open" .}}
{{template "admin_pagehead" (dict "Icon" "bx-history" "Title" (T "admin.logs.title") "Desc" (printf (T "admin.logs.desc_fmt") .Data.Total .Data.PageSize))}}
{{T "admin.logs.reset"}}
{{range .Data.Rows}} {{$lid := index . "id"}} {{else}}{{end}}
{{T "admin.logs.col_line"}}{{T "admin.logs.col_time"}}adminactionmodulecontentip{{T "admin.logs.col_ops"}}
{{$lid}} {{unixTime (index . "created_at")}} #{{index . "admin_id"}} {{privacy "username" (index . "admin_name")}} {{index . "action"}} {{index . "module"}}
{{index . "content"}}
{{privacy "ip" (index . "ip")}}
{{if and (not .Data.HasDayFile) (eq .Data.Total 0)}}{{T "admin.logs.empty_day"}}{{else}}{{T "admin.logs.empty_match"}}{{end}}
{{template "admin_shell_close" .}} {{end}}