{{define "title"}}{{ call $.T "profile_edit_page" .UserProfile.Username }}{{end}} {{define "contclass"}}cont-view{{end}} {{define "content"}} {{with .UserProfile}}
{{.Username}}

{{.Username}}

{{GetRole . }}
{{if gt $.User.ID 0 }} {{if not (CurrentUserIdentical $.User .ID) }} {{if not (IsFollower . $.User)}} {{ call $.T "follow"}} {{else}} {{ call $.T "unfollow"}} {{end}} {{end}} {{end}}
{{call $.T "torrents"}}
{{if gt $.User.ID 0 }} {{ if CurrentUserIdentical $.User .ID }} {{ call $.T "my_notifications"}}
{{end}} {{if CurrentOrAdmin $.User .ID }} {{call $.T "settings"}}
{{end}} {{end}}
{{end}}
{{ block "profile_edit_content" . }}{{end}}
{{end}}