Skip to content

Commit fb45bf2

Browse files
fsologurengLoïc Dachary
authored and
Loïc Dachary
committed
Add main landmark to templates and adjust titles (go-gitea#22670)
* Add main aria landmark to templates * Adjust some titles to improve understanding of location in navigation Contributed by @forgejo (cherry picked from commit e6a557cae3ad2db1bbb9a5ee7b90531b3bbc5c3f)
1 parent 54eb945 commit fb45bf2

File tree

158 files changed

+164
-163
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+164
-163
lines changed

routers/web/admin/hooks.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const (
2323
func DefaultOrSystemWebhooks(ctx *context.Context) {
2424
var err error
2525

26+
ctx.Data["Title"] = ctx.Tr("admin.hooks")
2627
ctx.Data["PageIsAdminSystemHooks"] = true
2728
ctx.Data["PageIsAdminDefaultHooks"] = true
2829

routers/web/repo/setting.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const (
6262
// SettingsCtxData is a middleware that sets all the general context data for the
6363
// settings template.
6464
func SettingsCtxData(ctx *context.Context) {
65-
ctx.Data["Title"] = ctx.Tr("repo.settings")
65+
ctx.Data["Title"] = ctx.Tr("repo.settings.options")
6666
ctx.Data["PageIsSettingsOptions"] = true
6767
ctx.Data["ForcePrivate"] = setting.Repository.ForcePrivate
6868
ctx.Data["MirrorsEnabled"] = setting.Mirror.Enabled
@@ -854,7 +854,7 @@ func handleSettingRemoteAddrError(ctx *context.Context, err error, form *forms.R
854854

855855
// Collaboration render a repository's collaboration page
856856
func Collaboration(ctx *context.Context) {
857-
ctx.Data["Title"] = ctx.Tr("repo.settings")
857+
ctx.Data["Title"] = ctx.Tr("repo.settings.collaboration")
858858
ctx.Data["PageIsSettingsCollaboration"] = true
859859

860860
users, err := repo_model.GetCollaborators(ctx, ctx.Repo.Repository.ID, db.ListOptions{})
@@ -1093,7 +1093,7 @@ func GitHooksEditPost(ctx *context.Context) {
10931093

10941094
// DeployKeys render the deploy keys list of a repository page
10951095
func DeployKeys(ctx *context.Context) {
1096-
ctx.Data["Title"] = ctx.Tr("repo.settings.deploy_keys")
1096+
ctx.Data["Title"] = ctx.Tr("repo.settings.deploy_keys") + " / " + ctx.Tr("secrets.secrets")
10971097
ctx.Data["PageIsSettingsKeys"] = true
10981098
ctx.Data["DisableSSH"] = setting.SSH.Disabled
10991099

routers/web/repo/setting_protected_branch.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import (
2929

3030
// ProtectedBranch render the page to protect the repository
3131
func ProtectedBranch(ctx *context.Context) {
32-
ctx.Data["Title"] = ctx.Tr("repo.settings")
32+
ctx.Data["Title"] = ctx.Tr("repo.settings.branches")
3333
ctx.Data["PageIsSettingsBranches"] = true
3434

3535
protectedBranches, err := git_model.GetProtectedBranches(ctx.Repo.Repository.ID)
@@ -61,7 +61,7 @@ func ProtectedBranch(ctx *context.Context) {
6161

6262
// ProtectedBranchPost response for protect for a branch of a repository
6363
func ProtectedBranchPost(ctx *context.Context) {
64-
ctx.Data["Title"] = ctx.Tr("repo.settings")
64+
ctx.Data["Title"] = ctx.Tr("repo.settings.protected_branch")
6565
ctx.Data["PageIsSettingsBranches"] = true
6666

6767
repo := ctx.Repo.Repository

routers/web/repo/tag.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func DeleteProtectedTagPost(ctx *context.Context) {
134134
}
135135

136136
func setTagsContext(ctx *context.Context) error {
137-
ctx.Data["Title"] = ctx.Tr("repo.settings")
137+
ctx.Data["Title"] = ctx.Tr("repo.settings.tags")
138138
ctx.Data["PageIsSettingsTags"] = true
139139

140140
protectedTags, err := git_model.GetProtectedTags(ctx.Repo.Repository.ID)

routers/web/user/setting/account.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const (
3131

3232
// Account renders change user's password, user's email and user suicide page
3333
func Account(ctx *context.Context) {
34-
ctx.Data["Title"] = ctx.Tr("settings")
34+
ctx.Data["Title"] = ctx.Tr("settings.account")
3535
ctx.Data["PageIsSettingsAccount"] = true
3636
ctx.Data["Email"] = ctx.Doer.Email
3737
ctx.Data["EnableNotifyMail"] = setting.Service.EnableNotifyMail

routers/web/user/setting/adopt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818

1919
// AdoptOrDeleteRepository adopts or deletes a repository
2020
func AdoptOrDeleteRepository(ctx *context.Context) {
21-
ctx.Data["Title"] = ctx.Tr("settings")
21+
ctx.Data["Title"] = ctx.Tr("settings.adopt")
2222
ctx.Data["PageIsSettingsRepos"] = true
2323
allowAdopt := ctx.IsUserSiteAdmin() || setting.Repository.AllowAdoptionOfUnadoptedRepositories
2424
ctx.Data["allowAdopt"] = allowAdopt

routers/web/user/setting/applications.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const (
2222

2323
// Applications render manage access token page
2424
func Applications(ctx *context.Context) {
25-
ctx.Data["Title"] = ctx.Tr("settings")
25+
ctx.Data["Title"] = ctx.Tr("settings.applications")
2626
ctx.Data["PageIsSettingsApplications"] = true
2727

2828
loadApplicationsData(ctx)

routers/web/user/setting/keys.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const (
2424

2525
// Keys render user's SSH/GPG public keys page
2626
func Keys(ctx *context.Context) {
27-
ctx.Data["Title"] = ctx.Tr("settings")
27+
ctx.Data["Title"] = ctx.Tr("settings.ssh_gpg_keys")
2828
ctx.Data["PageIsSettingsKeys"] = true
2929
ctx.Data["DisableSSH"] = setting.SSH.Disabled
3030
ctx.Data["BuiltinSSH"] = setting.SSH.StartBuiltinServer

routers/web/user/setting/profile.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const (
4343

4444
// Profile render user's profile page
4545
func Profile(ctx *context.Context) {
46-
ctx.Data["Title"] = ctx.Tr("settings")
46+
ctx.Data["Title"] = ctx.Tr("settings.profile")
4747
ctx.Data["PageIsSettingsProfile"] = true
4848
ctx.Data["AllowedUserVisibilityModes"] = setting.Service.AllowedUserVisibilityModesSlice.ToVisibleTypeSlice()
4949

@@ -220,7 +220,7 @@ func DeleteAvatar(ctx *context.Context) {
220220

221221
// Organization render all the organization of the user
222222
func Organization(ctx *context.Context) {
223-
ctx.Data["Title"] = ctx.Tr("settings")
223+
ctx.Data["Title"] = ctx.Tr("settings.organization")
224224
ctx.Data["PageIsSettingsOrganization"] = true
225225

226226
opts := organization.FindOrgOptions{
@@ -255,7 +255,7 @@ func Organization(ctx *context.Context) {
255255

256256
// Repos display a list of all repositories of the user
257257
func Repos(ctx *context.Context) {
258-
ctx.Data["Title"] = ctx.Tr("settings")
258+
ctx.Data["Title"] = ctx.Tr("settings.repos")
259259
ctx.Data["PageIsSettingsRepos"] = true
260260
ctx.Data["allowAdopt"] = ctx.IsUserSiteAdmin() || setting.Repository.AllowAdoptionOfUnadoptedRepositories
261261
ctx.Data["allowDelete"] = ctx.IsUserSiteAdmin() || setting.Repository.AllowDeleteOfUnadoptedRepositories
@@ -361,7 +361,7 @@ func Repos(ctx *context.Context) {
361361

362362
// Appearance render user's appearance settings
363363
func Appearance(ctx *context.Context) {
364-
ctx.Data["Title"] = ctx.Tr("settings")
364+
ctx.Data["Title"] = ctx.Tr("settings.appearance")
365365
ctx.Data["PageIsSettingsAppearance"] = true
366366

367367
var hiddenCommentTypes *big.Int

routers/web/user/setting/security/security.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const (
2323

2424
// Security render change user's password page and 2FA
2525
func Security(ctx *context.Context) {
26-
ctx.Data["Title"] = ctx.Tr("settings")
26+
ctx.Data["Title"] = ctx.Tr("settings.security")
2727
ctx.Data["PageIsSettingsSecurity"] = true
2828

2929
if ctx.FormString("openid.return_to") != "" {

templates/admin/applications/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin config">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin config">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
<div class="twelve wide column content">

templates/admin/applications/oauth2_edit.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin config">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin config">
33
{{template "admin/navbar" .}}
44

55
{{template "user/settings/applications_oauth2_edit_form" .}}

templates/admin/auth/edit.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin edit authentication">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin edit authentication">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/auth/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin authentication">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin authentication">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/auth/new.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin new authentication">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin new authentication">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/config.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin config">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin config">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/dashboard.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin dashboard">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin dashboard">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/emails/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin user">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin user">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/hook_new.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin settings new webhook">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin settings new webhook">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/hooks.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin hooks">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin hooks">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/monitor.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin monitor">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin monitor">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/notice.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin notice">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin notice">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/org/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin user">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin user">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/packages/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin user">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin user">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/queue.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin monitor">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin monitor">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/repo/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin user">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin user">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/repo/unadopted.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin user">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin user">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/stacktrace.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin monitor">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin monitor">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/user/edit.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin edit user">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin edit user">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/user/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin user">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin user">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/user/new.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin new user">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin new user">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/explore/code.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content explore users">
2+
<div role="main" aria-label="{{.Title}}" class="page-content explore users">
33
{{template "explore/navbar" .}}
44
<div class="ui container">
55
{{template "code/searchform" .}}

templates/explore/organizations.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content explore users">
2+
<div role="main" aria-label="{{.Title}}" class="page-content explore users">
33
{{template "explore/navbar" .}}
44
<div class="ui container">
55
{{template "explore/search" .}}

templates/explore/repos.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content explore repositories">
2+
<div role="main" aria-label="{{.Title}}" class="page-content explore repositories">
33
{{template "explore/navbar" .}}
44
<div class="ui container">
55
{{template "explore/repo_search" .}}

templates/explore/users.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content explore users">
2+
<div role="main" aria-label="{{.Title}}" class="page-content explore users">
33
{{template "explore/navbar" .}}
44
<div class="ui container">
55
{{template "explore/search" .}}

templates/home.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content home">
2+
<div role="main" aria-label="{{if .IsSigned}}{{.locale.Tr "dashboard"}}{{else}}{{.locale.Tr "home"}}{{end}}" class="page-content home">
33
<div class="ui stackable middle very relaxed page grid">
44
<div class="sixteen wide center aligned centered column">
55
<div>

templates/install.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content install">
2+
<div role="main" aria-label="{{.Title}}" class="page-content install">
33
<div class="ui middle very relaxed page grid">
44
<div class="sixteen wide center aligned centered column">
55
<h3 class="ui top attached header">

templates/org/create.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content organization new org">
2+
<div role="main" aria-label="{{.Title}}" class="page-content organization new org">
33
<div class="ui middle very relaxed page grid">
44
<div class="column">
55
<form class="ui form" action="{{.Link}}" method="post">

templates/org/home.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content organization profile">
2+
<div role="main" aria-label="{{.Title}}" class="page-content organization profile">
33
<div class="ui container df">
44
{{avatar .Org 140 "org-avatar"}}
55
<div id="org-info">

templates/org/member/members.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content organization members">
2+
<div role="main" aria-label="{{.Title}}" class="page-content organization members">
33
{{template "org/header" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/org/settings/applications.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content organization settings options">
2+
<div role="main" aria-label="{{.Title}}" class="page-content organization settings options">
33
{{template "org/header" .}}
44
<div class="ui container">
55
<div class="ui grid">

templates/org/settings/applications_oauth2_edit.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content organization settings options">
2+
<div role="main" aria-label="{{.Title}}" class="page-content organization settings options">
33
{{template "org/header" .}}
44

55
{{template "user/settings/applications_oauth2_edit_form" .}}

templates/org/settings/delete.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content organization settings delete">
2+
<div role="main" aria-label="{{.Title}}" class="page-content organization settings delete">
33
{{template "org/header" .}}
44
<div class="ui container">
55
<div class="ui grid">

templates/org/settings/hook_new.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content organization settings new webhook">
2+
<div role="main" aria-label="{{.Title}}" class="page-content organization settings new webhook">
33
{{template "org/header" .}}
44
<div class="ui container">
55
<div class="ui grid">

templates/org/settings/hooks.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content organization settings webhooks">
2+
<div role="main" aria-label="{{.Title}}" class="page-content organization settings webhooks">
33
{{template "org/header" .}}
44
<div class="ui container">
55
<div class="ui grid">

templates/org/settings/labels.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content organization settings labels">
2+
<div role="main" aria-label="{{.Title}}" class="page-content organization settings labels">
33
{{template "org/header" .}}
44
<div class="ui container">
55
<div class="ui grid">

0 commit comments

Comments
 (0)