mirror of
https://github.com/Th3Whit3Wolf/Space-Gitea
synced 2024-05-24 13:56:03 +02:00
16 lines
789 B
Go HTML Template
16 lines
789 B
Go HTML Template
<div class="ui secondary pointing tabular top attached borderless stackable menu navbar">
|
|
<a class="item {{if .PageIsExploreRepositories}}acty{{end}}" href="{{AppSubUrl}}/explore/repos">
|
|
{{svg "octicon-repo" 16}} {{.i18n.Tr "explore.repos"}}
|
|
</a>
|
|
<a class="item {{if .PageIsExploreUsers}}acty{{end}}" href="{{AppSubUrl}}/explore/users">
|
|
{{svg "octicon-person" 16}} {{.i18n.Tr "explore.users"}}
|
|
</a>
|
|
<a class="item {{if .PageIsExploreOrganizations}}acty{{end}}" href="{{AppSubUrl}}/explore/organizations">
|
|
{{svg "octicon-organization" 16}} {{.i18n.Tr "explore.organizations"}}
|
|
</a>
|
|
{{if .IsRepoIndexerEnabled}}
|
|
<a class="item {{if .PageIsExploreCode}}acty{{end}}" href="{{AppSubUrl}}/explore/code">
|
|
{{svg "octicon-code" 16}} {{.i18n.Tr "explore.code"}}
|
|
</a>
|
|
{{end}}
|
|
</div> |