{{define "profile_content"}} {{with .UserProfile}} {{ if gt (len .Torrents) 0 }}
{{ range .Torrents }} {{ with .ToJson }} {{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}}