{{define "title"}}{{.Torrent.Name}}{{end}} {{define "contclass"}}cont-view {{if eq .Torrent.Status 2}}remake{{end}} {{if eq .Torrent.Status 3}}trusted{{end}} {{if eq .Torrent.Status 4}}aplus{{end}}{{end}} {{define "content"}}
{{with .Torrent}}

{{.Name}}

{{ if Sukebei }} {{ T (Category_Sukebei .Category .SubCategory) }} {{ else }} {{ T (Category_Nyaa .Category .SubCategory) }} {{ 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"}}

{{.WebsiteLink}}


{{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}}

{{ if gt (len .FileList) 0 }}
{{ range .FileList }} {{ end }}
{{T "filename"}} {{T "size"}}
{{.Path}} {{.Filesize}}
{{ end }}

{{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}}
{{end}}
{{/* There should be a better way to use translation on this... */}}
{{block "captcha" .}}{{end}}
{{end}}