mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-19 01:14:05 +01:00
8371f94d06
* Rework SSH key management UI to add GPG * Add more detail to gpg key display * Update CHANGELOG.md * Implement deletion UI * Implement adding gpg UI * Various fixes - Fix duplicate entry in locale - Re-generate hash before verification since they are consumed * Add missing translation * Split template * Catch not found/verified email error
35 lines
1.5 KiB
Go HTML Template
35 lines
1.5 KiB
Go HTML Template
<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 .PageIsSettingsAvatar}}active{{end}} item" href="{{AppSubUrl}}/user/settings/avatar">
|
|
{{.i18n.Tr "settings.avatar"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsPassword}}active{{end}} item" href="{{AppSubUrl}}/user/settings/password">
|
|
{{.i18n.Tr "settings.password"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsEmails}}active{{end}} item" href="{{AppSubUrl}}/user/settings/email">
|
|
{{.i18n.Tr "settings.emails"}}
|
|
</a>
|
|
{{if .EnableOpenIDSignIn}}
|
|
<a class="{{if .PageIsSettingsOpenID}}active{{end}} item" href="{{AppSubUrl}}/user/settings/openid">
|
|
OpenID
|
|
</a>
|
|
{{end}}
|
|
<a class="{{if .PageIsSettingsKeys}}active{{end}} item" href="{{AppSubUrl}}/user/settings/keys">
|
|
{{.i18n.Tr "settings.ssh_gpg_keys"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsApplications}}active{{end}} item" href="{{AppSubUrl}}/user/settings/applications">
|
|
{{.i18n.Tr "settings.applications"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsTwofa}}active{{end}} item" href="{{AppSubUrl}}/user/settings/two_factor">
|
|
{{.i18n.Tr "settings.twofa"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsAccountLink}}active{{end}} item" href="{{AppSubUrl}}/user/settings/account_link">
|
|
{{.i18n.Tr "settings.account_link"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsDelete}}active{{end}} item" href="{{AppSubUrl}}/user/settings/delete">
|
|
{{.i18n.Tr "settings.delete"}}
|
|
</a>
|
|
</div>
|