forked from Shiloh/githaven
d55a0b7238
* Refactor `i18n` to `locale` - Currently we're using the `i18n` variable naming for the `locale` struct. This contains locale's specific information and cannot be used for general i18n purpose, therefore refactoring it to `locale` makes more sense. - Ref: https://github.com/go-gitea/gitea/pull/20096#discussion_r906699200 * Update routers/install/install.go
29 lines
1.3 KiB
Handlebars
29 lines
1.3 KiB
Handlebars
<div class="ui secondary pointing tabular top attached borderless menu stackable new-menu navbar">
|
|
<div class="new-menu-inner">
|
|
<a class="{{if .PageIsSettingsProfile}}active{{end}} item" href="{{AppSubUrl}}/user/settings">
|
|
{{.locale.Tr "settings.profile"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsAccount}}active{{end}} item" href="{{AppSubUrl}}/user/settings/account">
|
|
{{.locale.Tr "settings.account"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsAppearance}}active{{end}} item" href="{{AppSubUrl}}/user/settings/appearance">
|
|
{{.locale.Tr "settings.appearance"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsSecurity}}active{{end}} item" href="{{AppSubUrl}}/user/settings/security">
|
|
{{.locale.Tr "settings.security"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsApplications}}active{{end}} item" href="{{AppSubUrl}}/user/settings/applications">
|
|
{{.locale.Tr "settings.applications"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsKeys}}active{{end}} item" href="{{AppSubUrl}}/user/settings/keys">
|
|
{{.locale.Tr "settings.ssh_gpg_keys"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsOrganization}}active{{end}} item" href="{{AppSubUrl}}/user/settings/organization">
|
|
{{.locale.Tr "settings.organization"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsRepos}}active{{end}} item" href="{{AppSubUrl}}/user/settings/repos">
|
|
{{.locale.Tr "settings.repos"}}
|
|
</a>
|
|
</div>
|
|
</div>
|