mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-27 22:04:28 -04:00
* 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
19 lines
844 B
Handlebars
19 lines
844 B
Handlebars
<div class="ui secondary pointing tabular top attached borderless stackable menu new-menu navbar">
|
|
<a class="{{if .PageIsExploreRepositories}}active{{end}} item" href="{{AppSubUrl}}/explore/repos">
|
|
{{svg "octicon-repo"}} {{.locale.Tr "explore.repos"}}
|
|
</a>
|
|
{{if not .UsersIsDisabled}}
|
|
<a class="{{if .PageIsExploreUsers}}active{{end}} item" href="{{AppSubUrl}}/explore/users">
|
|
{{svg "octicon-person"}} {{.locale.Tr "explore.users"}}
|
|
</a>
|
|
{{end}}
|
|
<a class="{{if .PageIsExploreOrganizations}}active{{end}} item" href="{{AppSubUrl}}/explore/organizations">
|
|
{{svg "octicon-organization"}} {{.locale.Tr "explore.organizations"}}
|
|
</a>
|
|
{{if .IsRepoIndexerEnabled}}
|
|
<a class="{{if .PageIsExploreCode}}active{{end}} item" href="{{AppSubUrl}}/explore/code">
|
|
{{svg "octicon-code"}} {{.locale.Tr "explore.code"}}
|
|
</a>
|
|
{{end}}
|
|
</div>
|