2023-05-01 10:08:37 -06:00
|
|
|
<div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
|
2023-09-25 01:52:41 -06:00
|
|
|
<div class="new-menu-inner">
|
|
|
|
<a class="{{if .PageIsExploreRepositories}}active {{end}}item" href="{{AppSubUrl}}/explore/repos">
|
2023-09-25 07:15:51 -06:00
|
|
|
{{svg "octicon-repo"}} {{ctx.Locale.Tr "explore.repos"}}
|
2021-03-11 06:40:54 -07:00
|
|
|
</a>
|
2023-09-25 01:52:41 -06:00
|
|
|
{{if not .UsersIsDisabled}}
|
|
|
|
<a class="{{if .PageIsExploreUsers}}active {{end}}item" href="{{AppSubUrl}}/explore/users">
|
2023-09-25 07:15:51 -06:00
|
|
|
{{svg "octicon-person"}} {{ctx.Locale.Tr "explore.users"}}
|
2023-09-25 01:52:41 -06:00
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
<a class="{{if .PageIsExploreOrganizations}}active {{end}}item" href="{{AppSubUrl}}/explore/organizations">
|
2023-09-25 07:15:51 -06:00
|
|
|
{{svg "octicon-organization"}} {{ctx.Locale.Tr "explore.organizations"}}
|
2023-09-25 01:52:41 -06:00
|
|
|
</a>
|
|
|
|
{{if and (not $.UnitTypeCode.UnitGlobalDisabled) .IsRepoIndexerEnabled}}
|
|
|
|
<a class="{{if .PageIsExploreCode}}active {{end}}item" href="{{AppSubUrl}}/explore/code">
|
2023-09-25 07:15:51 -06:00
|
|
|
{{svg "octicon-code"}} {{ctx.Locale.Tr "explore.code"}}
|
2023-09-25 01:52:41 -06:00
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
2015-12-07 15:30:52 -07:00
|
|
|
</div>
|