{{ extends "layouts/profile" }} {{ import "layouts/partials/menu/profile" }} {{ block profile_navigation()}}{{ yield profile_menu(route="profile") }}{{end}} {{block profile_content()}} {{ if len(UserProfile.Torrents) > 0 }} {{ range i, t := UserProfile.Torrents }} {{ torrent := t.ToJSON() }} {{end}}
{{ T("category")}} {{ T("name")}} {{ T("links")}} {{ T("size")}} {{ T("date")}}
{{ if torrent.Languages[0] != "" }} {{ LanguageNameFromCode(torrent.Languages[0], T) }} {{end}}
{{torrent.Name}} {{ fileSize(torrent.Filesize, T, true) }} {{formatDate(torrent.FullDate, true)}}
{{else}}

{{ T("no_torrents_uploaded") }}

{{end}} {{end}}