2023-07-31 03:16:03 -04:00
|
|
|
<div class="flex-container-nav">
|
2023-04-23 06:21:21 -04:00
|
|
|
<div class="ui fluid vertical menu">
|
2023-08-16 06:12:03 -04:00
|
|
|
<div class="header item">{{.locale.Tr "user.settings"}}</div>
|
2022-12-09 08:34:51 -05:00
|
|
|
<a class="{{if .PageIsSettingsProfile}}active {{end}}item" href="{{AppSubUrl}}/user/settings">
|
2022-06-27 16:58:46 -04:00
|
|
|
{{.locale.Tr "settings.profile"}}
|
2020-11-26 14:33:28 -05:00
|
|
|
</a>
|
2022-12-09 08:34:51 -05:00
|
|
|
<a class="{{if .PageIsSettingsAccount}}active {{end}}item" href="{{AppSubUrl}}/user/settings/account">
|
2022-06-27 16:58:46 -04:00
|
|
|
{{.locale.Tr "settings.account"}}
|
2020-11-26 14:33:28 -05:00
|
|
|
</a>
|
2022-12-09 08:34:51 -05:00
|
|
|
<a class="{{if .PageIsSettingsAppearance}}active {{end}}item" href="{{AppSubUrl}}/user/settings/appearance">
|
2022-06-27 16:58:46 -04:00
|
|
|
{{.locale.Tr "settings.appearance"}}
|
2021-10-27 11:40:08 -04:00
|
|
|
</a>
|
2022-12-09 08:34:51 -05:00
|
|
|
<a class="{{if .PageIsSettingsSecurity}}active {{end}}item" href="{{AppSubUrl}}/user/settings/security">
|
2022-06-27 16:58:46 -04:00
|
|
|
{{.locale.Tr "settings.security"}}
|
2020-11-26 14:33:28 -05:00
|
|
|
</a>
|
2022-12-09 08:34:51 -05:00
|
|
|
<a class="{{if .PageIsSettingsApplications}}active {{end}}item" href="{{AppSubUrl}}/user/settings/applications">
|
2022-06-27 16:58:46 -04:00
|
|
|
{{.locale.Tr "settings.applications"}}
|
2020-11-26 14:33:28 -05:00
|
|
|
</a>
|
2022-12-09 08:34:51 -05:00
|
|
|
<a class="{{if .PageIsSettingsKeys}}active {{end}}item" href="{{AppSubUrl}}/user/settings/keys">
|
2022-06-27 16:58:46 -04:00
|
|
|
{{.locale.Tr "settings.ssh_gpg_keys"}}
|
2020-11-26 14:33:28 -05:00
|
|
|
</a>
|
2023-04-27 20:08:47 -04:00
|
|
|
{{if .EnableActions}}
|
2023-06-20 18:54:15 -04:00
|
|
|
<details class="item toggleable-item" {{if or .PageIsSharedSettingsRunners .PageIsSharedSettingsSecrets .PageIsSharedSettingsVariables}}open{{end}}>
|
2023-06-06 22:49:48 -04:00
|
|
|
<summary>{{.locale.Tr "actions.actions"}}</summary>
|
2023-04-27 20:08:47 -04:00
|
|
|
<div class="menu">
|
2023-05-30 21:39:54 -04:00
|
|
|
<a class="{{if .PageIsSharedSettingsRunners}}active {{end}}item" href="{{AppSubUrl}}/user/settings/actions/runners">
|
|
|
|
{{.locale.Tr "actions.runners"}}
|
|
|
|
</a>
|
2023-04-27 20:08:47 -04:00
|
|
|
<a class="{{if .PageIsSharedSettingsSecrets}}active {{end}}item" href="{{AppSubUrl}}/user/settings/actions/secrets">
|
|
|
|
{{.locale.Tr "secrets.secrets"}}
|
|
|
|
</a>
|
2023-06-20 18:54:15 -04:00
|
|
|
<a class="{{if .PageIsSharedSettingsVariables}}active {{end}}item" href="{{AppSubUrl}}/user/settings/actions/variables">
|
|
|
|
{{.locale.Tr "actions.variables"}}
|
|
|
|
</a>
|
2023-04-27 20:08:47 -04:00
|
|
|
</div>
|
2023-06-06 22:49:48 -04:00
|
|
|
</details>
|
2023-04-27 20:08:47 -04:00
|
|
|
{{end}}
|
2022-11-20 09:08:38 -05:00
|
|
|
{{if .EnablePackages}}
|
2022-12-09 08:34:51 -05:00
|
|
|
<a class="{{if .PageIsSettingsPackages}}active {{end}}item" href="{{AppSubUrl}}/user/settings/packages">
|
2022-11-20 09:08:38 -05:00
|
|
|
{{.locale.Tr "packages.title"}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
2023-03-10 09:28:32 -05:00
|
|
|
{{if not DisableWebhooks}}
|
|
|
|
<a class="{{if .PageIsSettingsHooks}}active {{end}}item" href="{{AppSubUrl}}/user/settings/hooks">
|
|
|
|
{{.locale.Tr "repo.settings.hooks"}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
2022-12-09 08:34:51 -05:00
|
|
|
<a class="{{if .PageIsSettingsOrganization}}active {{end}}item" href="{{AppSubUrl}}/user/settings/organization">
|
2022-06-27 16:58:46 -04:00
|
|
|
{{.locale.Tr "settings.organization"}}
|
2020-11-26 14:33:28 -05:00
|
|
|
</a>
|
2022-12-09 08:34:51 -05:00
|
|
|
<a class="{{if .PageIsSettingsRepos}}active {{end}}item" href="{{AppSubUrl}}/user/settings/repos">
|
2022-06-27 16:58:46 -04:00
|
|
|
{{.locale.Tr "settings.repos"}}
|
2020-11-26 14:33:28 -05:00
|
|
|
</a>
|
|
|
|
</div>
|
2017-03-17 10:16:08 -04:00
|
|
|
</div>
|