{{define "profile_content"}} {{with .UserProfile}} {{ if gt (len .Torrents) 0 }}
{{ range $i, $t := .Torrents }} {{ if lt $i 16 }} {{ with $t.ToJSON }} {{end}} {{end}} {{end}}
{{T "category"}} {{T "name"}} {{T "date"}} {{T "size"}} {{T "links"}}
{{.Name}} {{.Date}} {{.Filesize}} {{if ne .TorrentLink ""}} {{end}}
{{else}}

{{ T "no_torrents_uploaded" }}

{{end}} {{end}} {{end}}