#### {{ctx.Locale.Tr "repo.settings.units.overview"}}

{{$isCodeEnabled := .Repository.UnitEnabled $.Context $.UnitTypeCode}} {{$isCodeGlobalDisabled := .UnitTypeCode.UnitGlobalDisabled}}
{{ctx.Locale.Tr "repo.code"}}
{{ctx.Locale.Tr "repo.code.desc"}}
{{$isProjectsEnabled := .Repository.UnitEnabled $.Context $.UnitTypeProjects}} {{$isProjectsGlobalDisabled := .UnitTypeProjects.UnitGlobalDisabled}}
{{ctx.Locale.Tr "repo.projects"}}
{{ctx.Locale.Tr "repo.settings.projects_desc"}}
{{$isReleasesEnabled := .Repository.UnitEnabled $.Context $.UnitTypeReleases}} {{$isReleasesGlobalDisabled := .UnitTypeReleases.UnitGlobalDisabled}}
{{ctx.Locale.Tr "repo.releases"}}
{{ctx.Locale.Tr "repo.settings.releases_desc"}}
{{$isPackagesEnabled := .Repository.UnitEnabled $.Context $.UnitTypePackages}} {{$isPackagesGlobalDisabled := .UnitTypePackages.UnitGlobalDisabled}}
{{ctx.Locale.Tr "repo.packages"}}
{{ctx.Locale.Tr "repo.settings.packages_desc"}}
{{if .EnableActions}} {{$isActionsEnabled := .Repository.UnitEnabled $.Context $.UnitTypeActions}} {{$isActionsGlobalDisabled := .UnitTypeActions.UnitGlobalDisabled}}
{{ctx.Locale.Tr "actions.actions"}}
{{ctx.Locale.Tr "repo.settings.actions_desc"}}
{{end}}