{{define "title"}}{{.Torrent.Name}}{{end}} {{define "contclass"}}cont-view{{end}} {{define "content"}}
{{with .Torrent}}

{{.Name}}

Uploaded by {{.UploaderName}}


Download! {{if ne .TorrentLink ""}} Torrent file {{end}} Report! {{ if HasAdmin $.User}} {{end}}

{{T "hash"}}

{{.Hash}}


{{T "date"}}

{{.Date}}


{{T "size"}}

{{.Filesize}}


{{if ne .WebsiteLink ""}}

{{T "Link"}}

{{.WebsiteLink}}


{{end}}
{{T "seeders"}}
{{T "leechers"}}
{{T "completed"}}
{{.Seeders}}
{{.Leechers}}
{{.Completed}}

{{T "description"}}

{{.Description}}

{{T "comments"}}

{{ range $index, $element := .Comments }}
{{if eq .UserID -1}} {{$index}} {{.Username}} {{else}} {{$index}} {{.Username}} {{end}}
{{.Content}}
{{end}}
{{end}}
{{/* There should be a better way to use translation on this... */}}
{{with .Captcha}} {{block "captcha" .}}{{end}} {{end}}
{{with .Torrent}} {{end}}