aboutsummaryrefslogtreecommitdiffstats
path: root/templates/explore/navbar.tmpl
blob: 29eaa1e8c649da1fdc26c88a76009fe0212ea275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<div class="ui secondary pointing tabular top attached borderless stackable menu new-menu navbar">
	<a class="{{if .PageIsExploreRepositories}}active {{end}}item" href="{{AppSubUrl}}/explore/repos">
		{{svg "octicon-repo"}} {{.locale.Tr "explore.repos"}}
	</a>
	{{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 .IsRepoIndexerEnabled}}
	<a class="{{if .PageIsExploreCode}}active {{end}}item" href="{{AppSubUrl}}/explore/code">
		{{svg "octicon-code"}} {{.locale.Tr "explore.code"}}
	</a>
	{{end}}
</div>