diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl
index 769534501..77897f25c 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}}