{{define "title"}}{{ call $.T "profile_page" .UserProfile.Username }}{{end}} {{define "contclass"}}cont-view{{end}} {{define "rss_link"}}{{ genRoute "feed_user" "id" ( print .UserProfile.ID ) "username" .UserProfile.Username }}{{end}} {{define "rsstitle" }}{{ .UserProfile.Username }}{{end}} {{define "content"}} {{ range (index $.FormInfos "infos")}}
× {{ . }}
{{end}} {{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_content" . }}{{end}}
{{end}}