diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index d10f4c247..14a4fb1c5 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1,6 +1,7 @@ home = Home dashboard = Dashboard explore = Explore +data_sets = Data Sets help = Help sign_in = Sign In sign_in_with = Sign In With @@ -666,6 +667,7 @@ pick_reaction = Pick your reaction reactions_more = and %d more unit_disabled = The site administrator has disabled this repository section. language_other = Other +data_sets = Data Sets template.items = Template Items template.git_content = Git Content (Default Branch) diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index cedf29e2e..23ab1ff97 100644 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -20,13 +20,17 @@ {{if .ShowMilestonesDashboardPage}}{{.i18n.Tr "milestones"}}{{end}} {{end}} {{.i18n.Tr "explore"}} + {{.i18n.Tr "data_sets"}} {{else if .IsLandingPageHome}} {{.i18n.Tr "home"}} {{.i18n.Tr "explore"}} + {{.i18n.Tr "data_sets"}} {{else if .IsLandingPageExplore}} {{.i18n.Tr "home"}} + {{.i18n.Tr "data_sets"}} {{else if .IsLandingPageOrganizations}} {{.i18n.Tr "home"}} + {{.i18n.Tr "data_sets"}} {{end}} {{template "custom/extra_links" .}} diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 4daaa201d..4dca17721 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -101,6 +101,10 @@ {{svg "octicon-issue-opened" 16}} {{.i18n.Tr "repo.issues"}} {{.Repository.NumOpenIssues}} + + + {{svg "octicon-file-submodule" 16}} {{.i18n.Tr "repo.data_sets"}} + {{end}} {{if .Permission.CanRead $.UnitTypeExternalTracker}}