2023-05-02 00:08:37 +08:00
|
|
|
<div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
|
2023-09-25 09:03:00 +08:00
|
|
|
<div class="new-menu-inner">
|
|
|
|
<a class="{{if .PageIsExploreRepositories}}active {{end}}item" href="{{AppSubUrl}}/explore/repos">
|
|
|
|
{{svg "octicon-repo"}} {{.locale.Tr "explore.repos"}}
|
2021-03-11 21:40:54 +08:00
|
|
|
</a>
|
2023-09-25 09:03:00 +08:00
|
|
|
{{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 and (not $.UnitTypeCode.UnitGlobalDisabled) .IsRepoIndexerEnabled}}
|
|
|
|
<a class="{{if .PageIsExploreCode}}active {{end}}item" href="{{AppSubUrl}}/explore/code">
|
|
|
|
{{svg "octicon-code"}} {{.locale.Tr "explore.code"}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
2015-12-08 06:30:52 +08:00
|
|
|
</div>
|