From 64dc6f28fa37a870bec6393d676ff67559f37a44 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Thu, 4 Jun 2026 07:58:17 -0500 Subject: [PATCH] fix(settings): always show Licensing nav item in repo settings The Licensing nav item was gated behind LicensingEnabled, creating a chicken-and-egg problem: users couldn't reach the settings page to enable licensing because the nav link was hidden until licensing was already enabled. Co-Authored-By: Claude Opus 4.6 (1M context) --- templates/repo/settings/navbar.tmpl | 2 -- 1 file changed, 2 deletions(-) diff --git a/templates/repo/settings/navbar.tmpl b/templates/repo/settings/navbar.tmpl index ca126fea69..d08646ae56 100644 --- a/templates/repo/settings/navbar.tmpl +++ b/templates/repo/settings/navbar.tmpl @@ -7,11 +7,9 @@ {{svg "octicon-tools"}} {{ctx.Locale.Tr "repo.settings.advanced_settings"}} - {{if .LicensingEnabled}} {{svg "octicon-key"}} {{ctx.Locale.Tr "repo.settings.licensing_section"}} - {{end}} {{svg "octicon-list-unordered"}} {{ctx.Locale.Tr "repo.settings.custom_fields"}} -- 2.52.0