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

{{ call $.T "no_torrents_uploaded" }}

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