mirror of
https://gitee.com/gitea/gitea
synced 2025-12-07 08:40:27 +08:00
Add update user profile back end, add new gitignore and license, add template data to public profile page
This commit is contained in:
@@ -43,8 +43,7 @@ func Profile(params martini.Params, r render.Render, data base.TmplData, session
|
||||
return
|
||||
}
|
||||
|
||||
data["Avatar"] = user.Avatar
|
||||
data["Username"] = user.Name
|
||||
data["Owner"] = user
|
||||
r.HTML(200, "user/profile", data)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user