1
0
Fork 0
forked from forgejo/forgejo

Add main landmark to templates and adjust titles (#22670)

* Add main aria landmark to templates
 * Adjust some titles to improve understanding of location in navigation

Contributed by @Forgejo

(cherry picked from commit e6a557cae3)
This commit is contained in:
Felipe Leopoldo Sologuren Gutiérrez 2023-02-01 19:56:10 -03:00 committed by Loïc Dachary
parent 54eb9456be
commit fb45bf231e
No known key found for this signature in database
GPG key ID: 992D23B392F9E4F2
158 changed files with 164 additions and 163 deletions

View file

@ -23,7 +23,7 @@ const (
// Security render change user's password page and 2FA
func Security(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("settings")
ctx.Data["Title"] = ctx.Tr("settings.security")
ctx.Data["PageIsSettingsSecurity"] = true
if ctx.FormString("openid.return_to") != "" {