diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl new file mode 100644 index 0000000..f4c3206 --- /dev/null +++ b/templates/base/head_navbar.tmpl @@ -0,0 +1,22 @@ +
+ {{if and .IsSigned .MustChangePassword}} + {{/* No links */}} + {{else if .IsSigned}} + {{if not .UnitIssuesGlobalDisabled}} + {{.locale.Tr "issues"}} + {{end}} + {{if not .UnitPullsGlobalDisabled}} + {{.locale.Tr "pull_requests"}} + {{end}} + {{if not (and .UnitIssuesGlobalDisabled .UnitPullsGlobalDisabled)}} + {{if .ShowMilestonesDashboardPage}}{{.locale.Tr "milestones"}}{{end}} + {{end}} + {{.locale.Tr "explore"}} + {{else if .IsLandingPageOrganizations}} + {{.locale.Tr "explore"}} + {{else}} + {{.locale.Tr "explore"}} + {{end}} + + {{template "custom/extra_links" .}} +
diff --git a/templates/custom/body_inner_pre.tmpl b/templates/custom/body_inner_pre.tmpl new file mode 100644 index 0000000..43b59ce --- /dev/null +++ b/templates/custom/body_inner_pre.tmpl @@ -0,0 +1,197 @@ + diff --git a/templates/custom/extra_links.tmpl b/templates/custom/extra_links.tmpl index 94d839a..745f88c 100644 --- a/templates/custom/extra_links.tmpl +++ b/templates/custom/extra_links.tmpl @@ -1 +1 @@ -{{.locale.Tr "Report a Bug"}} +{{.locale.Tr "Report a Bug"}}