mirror of
https://github.com/go-gitea/gitea
synced 2024-11-08 19:24:25 +00:00
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
20 lines
750 B
Handlebars
20 lines
750 B
Handlebars
<div class="four wide column">
|
|
<div class="ui fluid vertical menu">
|
|
<div class="header item">{{.locale.Tr "org.settings"}}</div>
|
|
<a class="{{if .PageIsSettingsOptions}}active{{end}} item" href="{{.OrgLink}}/settings">
|
|
{{.locale.Tr "org.settings.options"}}
|
|
</a>
|
|
{{if not DisableWebhooks}}
|
|
<a class="{{if .PageIsSettingsHooks}}active{{end}} item" href="{{.OrgLink}}/settings/hooks">
|
|
{{.locale.Tr "repo.settings.hooks"}}
|
|
</a>
|
|
{{end}}
|
|
<a class="{{if .PageIsOrgSettingsLabels}}active{{end}} item" href="{{.OrgLink}}/settings/labels">
|
|
{{.locale.Tr "repo.labels"}}
|
|
</a>
|
|
<a class="{{if .PageIsSettingsDelete}}active{{end}} item" href="{{.OrgLink}}/settings/delete">
|
|
{{.locale.Tr "org.settings.delete"}}
|
|
</a>
|
|
</div>
|
|
</div>
|