{{.Name}}
{{ T "uploaded_by" }} {{.UploaderName}}
{{ 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"}}
{{.Seeders}}
{{.Leechers}}
{{.Completed}}
{{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. */}}
{{if eq .UserID -1}}
#{{$index}} by {{.Username}}
{{else}}
#{{$index}}
by {{.Username}}
{{end}}
{{ .Date.Format ( Ts "date_format" ) }}
{{/* output: "2017-05-01 15:30"
Went with "Year-Month-Day" because it's the most unambiguous.
If you want it to be determined by where you're from, be my guest. */}}
{{.Content}}
{{end}}