2023-07-31 01:16:03 -06:00
|
|
|
<div class="flex-container-nav">
|
2023-04-23 04:21:21 -06:00
|
|
|
<div class="ui fluid vertical menu">
|
2023-09-25 02:56:50 -06:00
|
|
|
<div class="header item">{{ctx.Locale.Tr "user.settings"}}</div>
|
2022-12-09 06:34:51 -07:00
|
|
|
<a class="{{if .PageIsSettingsProfile}}active {{end}}item" href="{{AppSubUrl}}/user/settings">
|
2023-09-25 02:56:50 -06:00
|
|
|
{{ctx.Locale.Tr "settings.profile"}}
|
2020-11-26 12:33:28 -07:00
|
|
|
</a>
|
2024-07-09 11:36:31 -06:00
|
|
|
{{if not (and ($.UserDisabledFeatures.Contains "manage_credentials" "deletion") (not $.EnableNotifyMail))}}
|
2022-12-09 06:34:51 -07:00
|
|
|
<a class="{{if .PageIsSettingsAccount}}active {{end}}item" href="{{AppSubUrl}}/user/settings/account">
|
2023-09-25 02:56:50 -06:00
|
|
|
{{ctx.Locale.Tr "settings.account"}}
|
2020-11-26 12:33:28 -07:00
|
|
|
</a>
|
2024-07-09 11:36:31 -06:00
|
|
|
{{end}}
|
2022-12-09 06:34:51 -07:00
|
|
|
<a class="{{if .PageIsSettingsAppearance}}active {{end}}item" href="{{AppSubUrl}}/user/settings/appearance">
|
2023-09-25 02:56:50 -06:00
|
|
|
{{ctx.Locale.Tr "settings.appearance"}}
|
2021-10-27 09:40:08 -06:00
|
|
|
</a>
|
2024-07-09 11:36:31 -06:00
|
|
|
{{if not ($.UserDisabledFeatures.Contains "manage_mfa" "manage_credentials")}}
|
2022-12-09 06:34:51 -07:00
|
|
|
<a class="{{if .PageIsSettingsSecurity}}active {{end}}item" href="{{AppSubUrl}}/user/settings/security">
|
2023-09-25 02:56:50 -06:00
|
|
|
{{ctx.Locale.Tr "settings.security"}}
|
2020-11-26 12:33:28 -07:00
|
|
|
</a>
|
2024-07-09 11:36:31 -06:00
|
|
|
{{end}}
|
2024-03-04 01:16:03 -07:00
|
|
|
<a class="{{if .PageIsSettingsBlockedUsers}}active {{end}}item" href="{{AppSubUrl}}/user/settings/blocked_users">
|
|
|
|
{{ctx.Locale.Tr "user.block.list"}}
|
|
|
|
</a>
|
2022-12-09 06:34:51 -07:00
|
|
|
<a class="{{if .PageIsSettingsApplications}}active {{end}}item" href="{{AppSubUrl}}/user/settings/applications">
|
2023-09-25 02:56:50 -06:00
|
|
|
{{ctx.Locale.Tr "settings.applications"}}
|
2020-11-26 12:33:28 -07:00
|
|
|
</a>
|
2024-07-09 11:36:31 -06:00
|
|
|
{{if not ($.UserDisabledFeatures.Contains "manage_ssh_keys" "manage_gpg_keys")}}
|
2022-12-09 06:34:51 -07:00
|
|
|
<a class="{{if .PageIsSettingsKeys}}active {{end}}item" href="{{AppSubUrl}}/user/settings/keys">
|
2023-09-25 02:56:50 -06:00
|
|
|
{{ctx.Locale.Tr "settings.ssh_gpg_keys"}}
|
2020-11-26 12:33:28 -07:00
|
|
|
</a>
|
2024-07-09 11:36:31 -06:00
|
|
|
{{end}}
|
2023-04-27 18:08:47 -06:00
|
|
|
{{if .EnableActions}}
|
2023-06-20 16:54:15 -06:00
|
|
|
<details class="item toggleable-item" {{if or .PageIsSharedSettingsRunners .PageIsSharedSettingsSecrets .PageIsSharedSettingsVariables}}open{{end}}>
|
2023-09-25 02:56:50 -06:00
|
|
|
<summary>{{ctx.Locale.Tr "actions.actions"}}</summary>
|
2023-04-27 18:08:47 -06:00
|
|
|
<div class="menu">
|
2023-05-30 19:39:54 -06:00
|
|
|
<a class="{{if .PageIsSharedSettingsRunners}}active {{end}}item" href="{{AppSubUrl}}/user/settings/actions/runners">
|
2023-09-25 02:56:50 -06:00
|
|
|
{{ctx.Locale.Tr "actions.runners"}}
|
2023-05-30 19:39:54 -06:00
|
|
|
</a>
|
2023-04-27 18:08:47 -06:00
|
|
|
<a class="{{if .PageIsSharedSettingsSecrets}}active {{end}}item" href="{{AppSubUrl}}/user/settings/actions/secrets">
|
2023-09-25 02:56:50 -06:00
|
|
|
{{ctx.Locale.Tr "secrets.secrets"}}
|
2023-04-27 18:08:47 -06:00
|
|
|
</a>
|
2023-06-20 16:54:15 -06:00
|
|
|
<a class="{{if .PageIsSharedSettingsVariables}}active {{end}}item" href="{{AppSubUrl}}/user/settings/actions/variables">
|
2023-09-25 02:56:50 -06:00
|
|
|
{{ctx.Locale.Tr "actions.variables"}}
|
2023-06-20 16:54:15 -06:00
|
|
|
</a>
|
2023-04-27 18:08:47 -06:00
|
|
|
</div>
|
2023-06-06 20:49:48 -06:00
|
|
|
</details>
|
2023-04-27 18:08:47 -06:00
|
|
|
{{end}}
|
2022-11-20 07:08:38 -07:00
|
|
|
{{if .EnablePackages}}
|
2022-12-09 06:34:51 -07:00
|
|
|
<a class="{{if .PageIsSettingsPackages}}active {{end}}item" href="{{AppSubUrl}}/user/settings/packages">
|
2023-09-25 02:56:50 -06:00
|
|
|
{{ctx.Locale.Tr "packages.title"}}
|
2022-11-20 07:08:38 -07:00
|
|
|
</a>
|
|
|
|
{{end}}
|
2023-03-10 07:28:32 -07:00
|
|
|
{{if not DisableWebhooks}}
|
|
|
|
<a class="{{if .PageIsSettingsHooks}}active {{end}}item" href="{{AppSubUrl}}/user/settings/hooks">
|
2023-09-25 02:56:50 -06:00
|
|
|
{{ctx.Locale.Tr "repo.settings.hooks"}}
|
2023-03-10 07:28:32 -07:00
|
|
|
</a>
|
|
|
|
{{end}}
|
2022-12-09 06:34:51 -07:00
|
|
|
<a class="{{if .PageIsSettingsOrganization}}active {{end}}item" href="{{AppSubUrl}}/user/settings/organization">
|
2023-09-25 02:56:50 -06:00
|
|
|
{{ctx.Locale.Tr "settings.organization"}}
|
2020-11-26 12:33:28 -07:00
|
|
|
</a>
|
2022-12-09 06:34:51 -07:00
|
|
|
<a class="{{if .PageIsSettingsRepos}}active {{end}}item" href="{{AppSubUrl}}/user/settings/repos">
|
2023-09-25 02:56:50 -06:00
|
|
|
{{ctx.Locale.Tr "settings.repos"}}
|
2020-11-26 12:33:28 -07:00
|
|
|
</a>
|
|
|
|
</div>
|
2017-03-17 08:16:08 -06:00
|
|
|
</div>
|