mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-27 04:07:08 +00:00
Add update user profile back end, add new gitignore and license, add template data to public profile page
This commit is contained in:
parent
adedd9181c
commit
57bc2d1ca0
13 changed files with 133 additions and 21 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue