aboutsummaryrefslogtreecommitdiff
path: root/templates/base/head_navbar.tmpl
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2020-02-14 00:03:20 -0500
committerThedro Neely <thedroneely@gmail.com>2020-02-14 00:03:20 -0500
commitf7c440e1dafac599a1a5726682ed1a8eacf77ab6 (patch)
tree8dba0f8c2ea6271bdee7a6d766434a41e4f948b0 /templates/base/head_navbar.tmpl
parentb1af3da65e218b678d188d02e188dc59b6362b8b (diff)
downloadgitea-templates-f7c440e1dafac599a1a5726682ed1a8eacf77ab6.tar.gz
gitea-templates-f7c440e1dafac599a1a5726682ed1a8eacf77ab6.tar.bz2
gitea-templates-f7c440e1dafac599a1a5726682ed1a8eacf77ab6.zip
templates: Initial changes for v1.11.0
Diffstat (limited to 'templates/base/head_navbar.tmpl')
-rw-r--r--templates/base/head_navbar.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl
index 743dfee..2a73d42 100644
--- a/templates/base/head_navbar.tmpl
+++ b/templates/base/head_navbar.tmpl
@@ -13,6 +13,7 @@
<a class="item {{if .PageIsDashboard}}active{{end}}" href="{{AppSubUrl}}/">{{.i18n.Tr "dashboard"}}</a>
<a class="item {{if .PageIsIssues}}active{{end}}" href="{{AppSubUrl}}/issues">{{.i18n.Tr "issues"}}</a>
<a class="item {{if .PageIsPulls}}active{{end}}" href="{{AppSubUrl}}/pulls">{{.i18n.Tr "pull_requests"}}</a>
+ {{if .ShowMilestonesDashboardPage}}<a class="item {{if .PageIsMilestonesDashboard}}active{{end}}" href="{{AppSubUrl}}/milestones">{{.i18n.Tr "milestones"}}</a>{{end}}
<a class="item {{if .PageIsExplore}}active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "explore"}}</a>
{{else if .IsLandingPageHome}}
<a class="item {{if .PageIsHome}}active{{end}}" href="{{AppSubUrl}}/">{{.i18n.Tr "home"}}</a>