mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-23 19:47:07 +09:00
Add update user profile back end, add new gitignore and license, add template data to public profile page
This commit is contained in:
1 parent
adedd9181c
commit
57bc2d1ca0
13 files changed
+133
-21
No files matched your search
@@ -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