mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-09 19:31:21 +01:00
099372d76c
* moved avatar to profile page * combined password change, email and account deletion into account settings page * combined totp, access tokens, linked accounts and openid into security settings page * move access tokens to applications settings page * small change to restart drone build * fix change avatar url on profile page * redirect old settings urls to new ones * enforce only one autofocus attribute on settings pages * set correct redirect status code * fmt fix
23 lines
1.1 KiB
Cheetah
23 lines
1.1 KiB
Cheetah
<div class="ui secondary pointing tabular top attached borderless menu stackable new-menu navbar">
|
|
<a class="{{if .PageIsSettingsProfile}}active{{end}} item" href="{{AppSubUrl}}/user/settings">
|
|
{{.i18n.Tr "settings.profile"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsAccount}}active{{end}} item" href="{{AppSubUrl}}/user/settings/account">
|
|
{{.i18n.Tr "settings.account"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsSecurity}}active{{end}} item" href="{{AppSubUrl}}/user/settings/security">
|
|
{{.i18n.Tr "settings.security"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsApplications}}active{{end}} item" href="{{AppSubUrl}}/user/settings/applications">
|
|
{{.i18n.Tr "settings.applications"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsKeys}}active{{end}} item" href="{{AppSubUrl}}/user/settings/keys">
|
|
{{.i18n.Tr "settings.ssh_gpg_keys"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsOrganization}}active{{end}} item" href="{{AppSubUrl}}/user/settings/organization">
|
|
{{.i18n.Tr "settings.organization"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsRepos}}active{{end}} item" href="{{AppSubUrl}}/user/settings/repos">
|
|
{{.i18n.Tr "settings.repos"}}
|
|
</a>
|
|
</div>
|