mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-25 09:00:27 +00:00
b34bc2b818
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
46 lines
No EOL
1.2 KiB
HTML
46 lines
No EOL
1.2 KiB
HTML
<!--
|
|
Copyright (C) 2019-2022 Nicola Murino
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU Affero General Public License as published
|
|
by the Free Software Foundation, version 3.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU Affero General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
-->
|
|
Retention check report for user <b>"{{.Username}}"</b>
|
|
<br><br>
|
|
Status: <strong>{{.Status}}</strong>
|
|
<br>
|
|
Start time: {{.StartTime}}
|
|
<br>
|
|
Total files deleted: {{.TotalFiles}}
|
|
<br>
|
|
Total size deleted: {{call .HumanizeSize .TotalSize}}
|
|
<br>
|
|
Elapsed: {{.Elapsed}}
|
|
<br>
|
|
{{range .Results -}}
|
|
<p>
|
|
Path: {{.Path}}
|
|
{{- if .Error}}
|
|
<br>
|
|
Error: {{.Error}}
|
|
{{- end}}
|
|
{{- if .Info}}
|
|
<br>
|
|
Info: {{.Info}}
|
|
{{- end}}
|
|
<br>
|
|
Retention: {{.Retention}} hours
|
|
<br>
|
|
Files deleted: {{.DeletedFiles}}
|
|
<br>
|
|
Size deleted: {{call $.HumanizeSize .DeletedSize}}
|
|
</p>
|
|
{{end}} |