diff options
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/settings/actions.tmpl (renamed from templates/user/settings/secrets.tmpl) | 4 | ||||
-rw-r--r-- | templates/user/settings/navbar.tmpl | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/templates/user/settings/secrets.tmpl b/templates/user/settings/actions.tmpl index a831453f2a..4d56523587 100644 --- a/templates/user/settings/secrets.tmpl +++ b/templates/user/settings/actions.tmpl @@ -1,6 +1,8 @@ -{{template "user/settings/layout_head" (dict "ctxData" . "pageClass" "user settings secrets")}} +{{template "user/settings/layout_head" (dict "ctxData" . "pageClass" "user settings actions")}} <div class="user-setting-content"> + {{if eq .PageType "secrets"}} {{template "shared/secrets/add_list" .}} + {{end}} </div> {{template "user/settings/layout_footer" .}} diff --git a/templates/user/settings/navbar.tmpl b/templates/user/settings/navbar.tmpl index 27ec73c34f..b79308419b 100644 --- a/templates/user/settings/navbar.tmpl +++ b/templates/user/settings/navbar.tmpl @@ -19,9 +19,16 @@ <a class="{{if .PageIsSettingsKeys}}active {{end}}item" href="{{AppSubUrl}}/user/settings/keys"> {{.locale.Tr "settings.ssh_gpg_keys"}} </a> - <a class="{{if .PageIsSettingsSecrets}}active {{end}}item" href="{{AppSubUrl}}/user/settings/secrets"> - {{.locale.Tr "secrets.secrets"}} - </a> + {{if .EnableActions}} + <div class="item"> + {{.locale.Tr "actions.actions"}} + <div class="menu"> + <a class="{{if .PageIsSharedSettingsSecrets}}active {{end}}item" href="{{AppSubUrl}}/user/settings/actions/secrets"> + {{.locale.Tr "secrets.secrets"}} + </a> + </div> + </div> + {{end}} {{if .EnablePackages}} <a class="{{if .PageIsSettingsPackages}}active {{end}}item" href="{{AppSubUrl}}/user/settings/packages"> {{.locale.Tr "packages.title"}} |