mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 16:57:53 +01:00
9e5d0a09eb
* add global code search on explore * fix bug when no anyone public repos * change the icon * fix typo and add UnitTypeCode check for login non-admin user * fix ui description when no match
17 lines
866 B
Cheetah
17 lines
866 B
Cheetah
<div class="ui secondary pointing tabular top attached borderless stackable menu navbar">
|
|
<a class="{{if .PageIsExploreRepositories}}active{{end}} item" href="{{AppSubUrl}}/explore/repos">
|
|
<span class="octicon octicon-repo"></span> {{.i18n.Tr "explore.repos"}}
|
|
</a>
|
|
<a class="{{if .PageIsExploreUsers}}active{{end}} item" href="{{AppSubUrl}}/explore/users">
|
|
<span class="octicon octicon-person"></span> {{.i18n.Tr "explore.users"}}
|
|
</a>
|
|
<a class="{{if .PageIsExploreOrganizations}}active{{end}} item" href="{{AppSubUrl}}/explore/organizations">
|
|
<span class="octicon octicon-organization"></span> {{.i18n.Tr "explore.organizations"}}
|
|
</a>
|
|
{{if .IsRepoIndexerEnabled}}
|
|
<a class="{{if .PageIsExploreCode}}active{{end}} item" href="{{AppSubUrl}}/explore/code">
|
|
<span class="octicon octicon-code"></span> {{.i18n.Tr "explore.code"}}
|
|
</a>
|
|
{{end}}
|
|
</div>
|