{{ block profile_menu(route="profile") }}
{{ UserProfile.Username}}
{{UserProfile.GetRole()}}
{{ T("torrents_uploaded") }}:{{ NbTorrents }}
{{ TorrentUploadedSize := 0}} {{ range i, t := UserProfile.Torrents }} {{ torrent := t.ToJSON() }} {{ TorrentUploadedSize = TorrentUploadedSize + torrent.Filesize}} {{ end }}{{ fileSize(TorrentUploadedSize, T)}} uploaded