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,6 +23,7 @@ const (
func DefaultOrSystemWebhooks(ctx *context.Context) {
var err error
ctx.Data["Title"] = ctx.Tr("admin.hooks")
ctx.Data["PageIsAdminSystemHooks"] = true
ctx.Data["PageIsAdminDefaultHooks"] = true