aboutsummaryrefslogtreecommitdiffstats
path: root/templates/explore/navbar.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/explore/navbar.tmpl')
-rw-r--r--templates/explore/navbar.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/explore/navbar.tmpl b/templates/explore/navbar.tmpl
index aa4a21d590..3bd52645e2 100644
--- a/templates/explore/navbar.tmpl
+++ b/templates/explore/navbar.tmpl
@@ -8,4 +8,9 @@
<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>