2023-05-02 00:08:37 +08:00
|
|
|
<div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
|
2022-12-09 21:34:51 +08:00
|
|
|
<a class="{{if .PageIsExploreRepositories}}active {{end}}item" href="{{AppSubUrl}}/explore/repos">
|
2022-06-28 04:58:46 +08:00
|
|
|
{{svg "octicon-repo"}} {{.locale.Tr "explore.repos"}}
|
2017-03-16 02:55:12 +08:00
|
|
|
</a>
|
2021-03-11 21:40:54 +08:00
|
|
|
{{if not .UsersIsDisabled}}
|
2022-12-09 21:34:51 +08:00
|
|
|
<a class="{{if .PageIsExploreUsers}}active {{end}}item" href="{{AppSubUrl}}/explore/users">
|
2022-06-28 04:58:46 +08:00
|
|
|
{{svg "octicon-person"}} {{.locale.Tr "explore.users"}}
|
2021-03-11 21:40:54 +08:00
|
|
|
</a>
|
|
|
|
{{end}}
|
2022-12-09 21:34:51 +08:00
|
|
|
<a class="{{if .PageIsExploreOrganizations}}active {{end}}item" href="{{AppSubUrl}}/explore/organizations">
|
2022-06-28 04:58:46 +08:00
|
|
|
{{svg "octicon-organization"}} {{.locale.Tr "explore.organizations"}}
|
2017-03-16 02:55:12 +08:00
|
|
|
</a>
|
2023-05-06 17:39:06 +08:00
|
|
|
{{if and (not $.UnitTypeCode.UnitGlobalDisabled) .IsRepoIndexerEnabled}}
|
2022-12-09 21:34:51 +08:00
|
|
|
<a class="{{if .PageIsExploreCode}}active {{end}}item" href="{{AppSubUrl}}/explore/code">
|
2022-06-28 04:58:46 +08:00
|
|
|
{{svg "octicon-code"}} {{.locale.Tr "explore.code"}}
|
2018-03-16 22:04:33 +08:00
|
|
|
</a>
|
|
|
|
{{end}}
|
2015-12-08 06:30:52 +08:00
|
|
|
</div>
|