diff options
Diffstat (limited to 'templates/org/settings/navbar.tmpl')
-rw-r--r-- | templates/org/settings/navbar.tmpl | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/templates/org/settings/navbar.tmpl b/templates/org/settings/navbar.tmpl index 7380deff77..fcce43f914 100644 --- a/templates/org/settings/navbar.tmpl +++ b/templates/org/settings/navbar.tmpl @@ -12,9 +12,6 @@ <a class="{{if .PageIsOrgSettingsLabels}}active {{end}}item" href="{{.OrgLink}}/settings/labels"> {{.locale.Tr "repo.labels"}} </a> - <a class="{{if .PageIsOrgSettingsSecrets}}active {{end}}item" href="{{.OrgLink}}/settings/secrets"> - {{.locale.Tr "secrets.secrets"}} - </a> {{if .EnableOAuth2}} <a class="{{if .PageIsSettingsApplications}}active {{end}}item" href="{{.OrgLink}}/settings/applications"> {{.locale.Tr "settings.applications"}} @@ -26,9 +23,17 @@ </a> {{end}} {{if .EnableActions}} - <a class="{{if .PageIsOrgSettingsRunners}}active {{end}}item" href="{{.OrgLink}}/settings/runners"> - {{.locale.Tr "actions.runners"}} - </a> + <div class="item"> + {{.locale.Tr "actions.actions"}} + <div class="menu"> + <a class="{{if .PageIsSharedSettingsRunners}}active {{end}}item" href="{{.OrgLink}}/settings/actions/runners"> + {{.locale.Tr "actions.runners"}} + </a> + <a class="{{if .PageIsSharedSettingsSecrets}}active {{end}}item" href="{{.OrgLink}}/settings/actions/secrets"> + {{.locale.Tr "secrets.secrets"}} + </a> + </div> + </div> {{end}} <a class="{{if .PageIsSettingsDelete}}active {{end}}item" href="{{.OrgLink}}/settings/delete"> {{.locale.Tr "org.settings.delete"}} |