{{define "title"}}{{.Torrent.Name}}{{end}} {{define "contclass"}}cont-view{{end}} {{define "additional_header"}} {{end}} {{ define "make_treeview" }} {{ range $index, $folder := .Folder.Folders }} {{ $folderId := (print $.IdentifierChain "_" $index) }}
{{ . }}
{{end}} {{ range (index $.Infos "infos")}}{{ . }}
{{end}}{{.Name}}
{{ call $.T "category" }}: | {{ if Sukebei}}{{ call $.T (CategoryName .Category .SubCategory) }}{{else}}{{ call $.T (CategoryName .Category .SubCategory) }}{{end}} |
{{ call $.T "date" }}: | {{.Date}} |
{{ call $.T "uploaded_by" }}: | {{ if ne .OldUploader ""}}{{.OldUploader}}{{else}}{{ genUploaderLink .UploaderID .UploaderName .Hidden }}{{end}} | {{call $.T "seeders"}}: | {{if .LastScrape.IsZero}}{{call $.T "unknown"}}{{else}}{{.Seeders}}{{end}} |
{{ call $.T "website_link" }}: | {{if ne .WebsiteLink ""}}{{.WebsiteLink}}{{else}}N/A{{end}} | {{call $.T "leechers"}}: | {{if .LastScrape.IsZero}}{{call $.T "unknown"}}{{else}}{{.Leechers}}{{end}} |
{{call $.T "hash"}}: | {{.Hash}} | {{call $.T "completed"}}: | {{if .LastScrape.IsZero}}{{call $.T "unknown"}}{{else}}{{.Completed}}{{end}} |
{{call $.T "size"}}: | {{ fileSize .Filesize $.T }} | {{call $.T "last_scraped"}} | {{formatDateRFC .LastScrape}}{{else}}">{{call $.T "unknown"}}{{end}} |
{{call $.T "torrent_language"}}: | {{ LanguageName .Language $.T }} |
{{call $.T "description"}}
{{ if ne .Description ""}}{{ call $.T "no_description" }}
{{end}}{{call $.T "file_name"}} | {{call $.T "size"}} | {{ template "make_treeview" (makeTreeViewData $.RootFolder 0 $.T "root") }}
---|
{{ call $.T "no_files" }}
{{ end }}{{call $.T "comments"}}
{{range $index, $element := .Comments}}
{{.Username}}
{{.Content}}