Browse Source

feat: improve the navbar

tags/v1.21.12.1
colorfulberry 5 years ago
parent
commit
39b05b7937
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      templates/explore/navbar.tmpl

+ 4
- 4
templates/explore/navbar.tmpl View File

@@ -12,11 +12,11 @@
<a class="{{if .PageIsExploreOrganizations}}active{{end}} item" href="{{AppSubUrl}}/explore/organizations">
{{svg "octicon-organization" 16}} {{.i18n.Tr "explore.organizations"}}
</a>
{{if .IsRepoIndexerEnabled}}
{{/* {{if .IsRepoIndexerEnabled}}
<a class="{{if .PageIsExploreCode}}active{{end}} item" href="{{AppSubUrl}}/explore/code">
{{svg "octicon-code" 16}} {{.i18n.Tr "explore.code"}}
</a>
{{end}}
{{end}} */}}
</div>
</div>
<!--平板、移动端-->
@@ -36,11 +36,11 @@
<a class="{{if .PageIsExploreOrganizations}}active{{end}} item" href="{{AppSubUrl}}/explore/organizations">
{{svg "octicon-organization" 16}} {{.i18n.Tr "explore.organizations"}}
</a>
{{if .IsRepoIndexerEnabled}}
{{/* {{if .IsRepoIndexerEnabled}}
<a class="{{if .PageIsExploreCode}}active{{end}} item" href="{{AppSubUrl}}/explore/code">
{{svg "octicon-code" 16}} {{.i18n.Tr "explore.code"}}
</a>
{{end}}
{{end}} */}}
</div>
</div>
</div>

Loading…
Cancel
Save