{{.Name}}
{{ if Sukebei }}
{{ else }}
{{ end }}
{{ T "uploaded_by" }} {{.UploaderName}}
{{if ne .OldUploader ""}} ({{.OldUploader}}) {{end}}
{{ T "download_btn" }}
{{if ne .TorrentLink ""}}
{{ T "torrent_file" }}
{{end}}
{{ T "report_btn" }}
{{ if HasAdmin $.User}}
{{end}}
{{T "description"}}
{{.Description}}
{{T "hash"}}
{{.Hash}}
{{T "date"}}
{{.Date}}
{{T "size"}}
{{.Filesize}}
{{if ne .WebsiteLink ""}}
{{T "link"}}
{{end}}
{{T "seeders"}}
{{T "leechers"}}
{{T "completed"}}
{{if .LastScrape.IsZero}}
{{T "unknown"}}
{{else}}
{{.Seeders}}
{{.Leechers}}
{{.Completed}}
{{end}}
{{if not .LastScrape.IsZero}}
{{T "last_scraped"}}
{{ formatDateRFC .LastScrape }}
{{end}}
{{T "files"}}
{{T "filename"}} | {{T "size"}} |
---|---|
{{.Path}} | {{.Filesize}} |
{{T "comments"}}
{{ range $index, $element := .Comments }}-
{{/* The following line is wrong. Should be using the MD5 User hash but i don't knwo how to access it. */}}
{{/* Changing Gravatar for something else, so it can stay like this. */}}
{{ formatDateRFC .Date }}
{{/* JS will format the date as always */}}
{{if eq .UserID -1}}
#{{inc $index}} by {{.Username}}
{{else}}
#{{inc $index}}
by {{.Username}}
{{end}}
{{.Content}}
{{end}}