2024-03-22 19:54:09 -04:00
|
|
|
<overflow-menu class="ui secondary pointing tabular top attached borderless menu secondary-nav">
|
2024-03-14 22:05:31 -04:00
|
|
|
<div class="overflow-menu-items tw-justify-center">
|
2023-09-24 21:03:00 -04:00
|
|
|
<a class="{{if .PageIsExploreRepositories}}active {{end}}item" href="{{AppSubUrl}}/explore/repos">
|
2023-09-25 04:56:50 -04:00
|
|
|
{{svg "octicon-repo"}} {{ctx.Locale.Tr "explore.repos"}}
|
2021-03-11 08:40:54 -05:00
|
|
|
</a>
|
2024-10-22 01:09:19 -04:00
|
|
|
{{if not .UsersPageIsDisabled}}
|
2023-09-24 21:03:00 -04:00
|
|
|
<a class="{{if .PageIsExploreUsers}}active {{end}}item" href="{{AppSubUrl}}/explore/users">
|
2023-09-25 04:56:50 -04:00
|
|
|
{{svg "octicon-person"}} {{ctx.Locale.Tr "explore.users"}}
|
2023-09-24 21:03:00 -04:00
|
|
|
</a>
|
|
|
|
{{end}}
|
2024-10-22 01:09:19 -04:00
|
|
|
{{if not .OrganizationsPageIsDisabled}}
|
2023-09-24 21:03:00 -04:00
|
|
|
<a class="{{if .PageIsExploreOrganizations}}active {{end}}item" href="{{AppSubUrl}}/explore/organizations">
|
2023-09-25 04:56:50 -04:00
|
|
|
{{svg "octicon-organization"}} {{ctx.Locale.Tr "explore.organizations"}}
|
2023-09-24 21:03:00 -04:00
|
|
|
</a>
|
2024-10-22 01:09:19 -04:00
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{if and (not $.UnitTypeCode.UnitGlobalDisabled) .IsRepoIndexerEnabled (not .CodePageIsDisabled)}}
|
2023-09-24 21:03:00 -04:00
|
|
|
<a class="{{if .PageIsExploreCode}}active {{end}}item" href="{{AppSubUrl}}/explore/code">
|
2023-09-25 04:56:50 -04:00
|
|
|
{{svg "octicon-code"}} {{ctx.Locale.Tr "explore.code"}}
|
2023-09-24 21:03:00 -04:00
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
2024-03-14 22:05:31 -04:00
|
|
|
</overflow-menu>
|