{{ block profile_menu(route="profile") }}
{{ UserProfile.Username }}

{{ UserProfile.Username}}

{{UserProfile.GetRole()}}

{{ T("torrents_uploaded") }}:{{ NbTorrents }}

{{if User.ID > 0 }} {{if !User.CurrentUserIdentical(UserProfile.ID) }} {{if !User.IsFollower(UserProfile)}} {{ T("follow")}}
{{else}} {{ T("unfollow")}}
{{end}} {{end}} {{end}}

{{ if User.ID > 0 && (User.CurrentUserIdentical(UserProfile.ID) || User.CurrentOrAdmin(UserProfile.ID)) }}
{{ T("torrents")}}

{{ else }}
{{ T("torrents")}}

{{ end }} {{if User.ID > 0 }} {{ if User.CurrentUserIdentical(UserProfile.ID) }} {{ T("my_notifications")}}
{{end}} {{if User.CurrentOrAdmin(UserProfile.ID) }} {{ T("settings")}}
{{end}} {{end}}
{{end}}