{{.Name}}
{{ if Sukebei }}
{{ call $.T (Category_Sukebei .Category .SubCategory) }}
{{ else }}
{{ call $.T (Category_Nyaa .Category .SubCategory) }}
{{ end }}
{{ call $.T "uploaded_by" }} {{.UploaderName}}
{{if ne .OldUploader ""}} ({{.OldUploader}}) {{end}}
{{ call $.T "download_btn" }}
{{if ne .TorrentLink ""}}
{{ call $.T "torrent_file" }}
{{end}}
{{ call $.T "report_btn" }}
{{ if HasAdmin $.User}}
{{end}}
{{call $.T "description"}}
{{.Description}}
{{call $.T "hash"}}
{{.Hash}}
{{call $.T "date"}}
{{.Date}}
{{call $.T "size"}}
{{.Filesize}}
{{if ne .WebsiteLink ""}}
{{call $.T "link"}}
{{end}}
{{call $.T "seeders"}}
{{call $.T "leechers"}}
{{call $.T "completed"}}
{{if .LastScrape.IsZero}}
{{call $.T "unknown"}}
{{else}}
{{.Seeders}}
{{.Leechers}}
{{.Completed}}
{{end}}
{{if not .LastScrape.IsZero}}
{{call $.T "last_scraped"}}{{ formatDateRFC .LastScrape }}
{{end}}
{{call $.T "files"}}
{{call $.T "filename"}} | {{call $.T "size"}} |
---|---|
{{.Path}} | {{.Filesize}} |
{{call $.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}}