mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 02:38:35 +00:00
Huge updates!!!!! Be careful to merge!!!!
This commit is contained in:
@@ -19,6 +19,7 @@ const (
|
||||
SETTINGS_PASSWORD base.TplName = "user/settings/password"
|
||||
SETTINGS_SSH_KEYS base.TplName = "user/settings/sshkeys"
|
||||
SETTINGS_SOCIAL base.TplName = "user/settings/social"
|
||||
SETTINGS_ORGS base.TplName = "user/settings/orgs"
|
||||
SETTINGS_DELETE base.TplName = "user/settings/delete"
|
||||
NOTIFICATION base.TplName = "user/notification"
|
||||
SECURITY base.TplName = "user/security"
|
||||
@@ -232,6 +233,13 @@ func SettingsSocial(ctx *middleware.Context) {
|
||||
ctx.HTML(200, SETTINGS_SOCIAL)
|
||||
}
|
||||
|
||||
func SettingsOrgs(ctx *middleware.Context) {
|
||||
ctx.Data["Title"] = ctx.Tr("settings")
|
||||
ctx.Data["PageIsUserSettings"] = true
|
||||
ctx.Data["PageIsSettingsOrgs"] = true
|
||||
ctx.HTML(200, SETTINGS_ORGS)
|
||||
}
|
||||
|
||||
func SettingsDelete(ctx *middleware.Context) {
|
||||
ctx.Data["Title"] = ctx.Tr("settings")
|
||||
ctx.Data["PageIsUserSettings"] = true
|
||||
|
Reference in New Issue
Block a user