diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl
index 7695345010..77897f25cf 100644
--- a/templates/repo/settings/options.tmpl
+++ b/templates/repo/settings/options.tmpl
@@ -390,6 +390,19 @@
+ {{$isPackagesEnabled := .Repository.UnitEnabled $.UnitTypePackages}}
+
+
+ {{if .UnitTypePackages.UnitGlobalDisabled}}
+
+
{{if not .IsMirror}}
{{$pullRequestEnabled := .Repository.UnitEnabled $.UnitTypePullRequests}}